svn commit: samba r19521 - in
branches/SAMBA_4_0/source/lib/ldb/modules: .
abartlet at samba.org
abartlet at samba.org
Wed Nov 1 03:17:43 GMT 2006
Author: abartlet
Date: 2006-11-01 03:17:42 +0000 (Wed, 01 Nov 2006)
New Revision: 19521
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19521
Log:
Fix memory leak.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_outbound.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_outbound.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_outbound.c 2006-11-01 03:17:23 UTC (rev 19520)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/ldb_map_outbound.c 2006-11-01 03:17:42 UTC (rev 19521)
@@ -195,6 +195,7 @@
if (ldb_msg_add_empty(msg, el->name, 0, &old) != 0) {
return -1;
}
+ talloc_free(old->name);
}
/* copy new element */
More information about the samba-cvs
mailing list