diff options
| author | Volker Lendecke <vl@samba.org> | 2013-12-06 09:28:40 +0000 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2013-12-13 12:45:57 -0800 |
| commit | 4ec65713fe21b7993fb4fe27754ff32b52775f1d (patch) | |
| tree | 6e9b8998fc844229f40a2855ebfd4b8936d93836 /libcli/security | |
| parent | b6e323bcf61c0db013122f321c11dba4211af17e (diff) | |
| download | samba-4ec65713fe21b7993fb4fe27754ff32b52775f1d.tar.gz samba-4ec65713fe21b7993fb4fe27754ff32b52775f1d.tar.xz samba-4ec65713fe21b7993fb4fe27754ff32b52775f1d.zip | |
secacl: Fix a memleak in an error path
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/security')
| -rw-r--r-- | libcli/security/secacl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/security/secacl.c b/libcli/security/secacl.c index 5778800454..61cf52134a 100644 --- a/libcli/security/secacl.c +++ b/libcli/security/secacl.c @@ -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; } |
