summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi/netapi_net.h
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2014-02-18 07:35:37 -0600
committerSimo Sorce <idra@samba.org>2014-02-21 16:55:47 -0500
commit9a9e56943d186e5a8655b5d731a339e453da8ae8 (patch)
treef00befc04084a5bfd4eb10b3bc8dd28ff7d95e0e /source3/lib/netapi/netapi_net.h
parent293aac0508d64551f549512d622e04ed22f297f6 (diff)
downloadsamba-9a9e56943d186e5a8655b5d731a339e453da8ae8.tar.gz
samba-9a9e56943d186e5a8655b5d731a339e453da8ae8.tar.xz
samba-9a9e56943d186e5a8655b5d731a339e453da8ae8.zip
passdb: Patch memory leak in pdb_ldap.c
Moved the call to the talloc autofree function to as early a point as possible. init_ldap_from_sam() already calls smbldap_set_mod(), and there's a chance that the init will fail after having already allocated memory for &mods. Coverity-Id: 1167997 Change-Id: Ic26bfb3c530f90aa885e447b8409deba49708d64 Reviewed-by: Ira Cooper <ira@samba.org> Signed-off-by: Jose A. Rivera <jarrpa@redhat.com> Reviewed-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/lib/netapi/netapi_net.h')
0 files changed, 0 insertions, 0 deletions