1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

secacl: Fix a memleak in an error path

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke
2013-12-06 09:28:40 +00:00
committed by Jeremy Allison
parent b6e323bcf6
commit 4ec65713fe

View File

@ -57,6 +57,7 @@ struct security_acl *make_sec_acl(TALLOC_CTX *ctx,
if ((num_aces) &&
((dst->aces = talloc_array(dst, struct security_ace, num_aces))
== NULL)) {
TALLOC_FREE(dst);
return NULL;
}