svn commit: samba r19322 - in
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .
tridge at samba.org
tridge at samba.org
Mon Oct 16 09:08:44 GMT 2006
Author: tridge
Date: 2006-10-16 09:08:43 +0000 (Mon, 16 Oct 2006)
New Revision: 19322
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19322
Log:
fix a minor memory leak in the ltdb cache code
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_cache.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_cache.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_cache.c 2006-10-16 07:32:22 UTC (rev 19321)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_cache.c 2006-10-16 09:08:43 UTC (rev 19322)
@@ -167,6 +167,7 @@
if (ldb_set_attrib_handlers(module->ldb, &h2, 1) != 0) {
goto failed;
}
+ talloc_steal(module->ldb->schema.attrib_handlers, h2.attr);
}
return 0;
More information about the samba-cvs
mailing list