svn commit: samba r19337 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

idra at samba.org idra at samba.org
Mon Oct 16 12:30:03 GMT 2006


Author: idra
Date: 2006-10-16 12:30:02 +0000 (Mon, 16 Oct 2006)
New Revision: 19337

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19337

Log:

never alloc on module unless you mean to attach a context to
it to keep the data around as long as the module lives


Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/entryUUID.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/entryUUID.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/entryUUID.c	2006-10-16 12:29:31 UTC (rev 19336)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/entryUUID.c	2006-10-16 12:30:02 UTC (rev 19337)
@@ -510,7 +510,7 @@
 		"namingContexts",
 		NULL
 	};
-	req = talloc(module, struct ldb_request);
+	req = talloc(entryUUID_private, struct ldb_request);
 	if (req == NULL) {
 		ldb_set_errstring(module->ldb, "Out of Memory");
 		return LDB_ERR_OPERATIONS_ERROR;



More information about the samba-cvs mailing list