git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c77c6f
)
r12663: Fix a memleak
author
Volker Lendecke
<vlendec@samba.org>
Sun, 1 Jan 2006 18:30:44 +0000
(18:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:06:01 +0000
(11:06 -0500)
(This used to be commit
3ee6b732f4210e6de6716364ec166f44f29f4463
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 0bf051eecda1d69bdd1b14b15780a63c659b7fcc..b35ce18eee5760bfc86b266024052771c8403aad 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-3638,6
+3638,10
@@
static NTSTATUS ldapsam_lookup_rids(struct pdb_methods *methods,
goto done;
}
+ if (msg != NULL) {
+ ldap_msgfree(msg);
+ }
+
/* Same game for groups */
{