Fix memleak in ldapsam_rename_sam_account() found by IBM checker.
authorMichael Adam <obnox@samba.org>
Wed, 9 Jan 2008 21:09:55 +0000 (22:09 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 9 Jan 2008 21:09:55 +0000 (22:09 +0100)
commit7c6d77dd883df958f9231f28d0080573e08e8add
tree72d1fb7b9839fe2d5cf3ce66d286612a710527e3
parentfbd9a15996ba4beb48c12a5632ca812e862e984c
Fix memleak in ldapsam_rename_sam_account() found by IBM checker.

The check for out of memory was the wrong way round.

Michael
(This used to be commit d7a7b793203b986823859ac5171d2d4c30e52415)
source3/passdb/pdb_ldap.c