svn commit: samba r11981 - in branches/SAMBA_4_0/source/lib/ldb/modules: .

tridge at samba.org tridge at samba.org
Thu Dec 1 00:19:37 GMT 2005


Author: tridge
Date: 2005-12-01 00:19:36 +0000 (Thu, 01 Dec 2005)
New Revision: 11981

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

Log:

we should allocate request specific memory in ldb modules off the
request strucutre. It will take a while for this to happen everywhere.

Modified:
   branches/SAMBA_4_0/source/lib/ldb/modules/operational.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/modules/operational.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/modules/operational.c	2005-12-01 00:18:29 UTC (rev 11980)
+++ branches/SAMBA_4_0/source/lib/ldb/modules/operational.c	2005-12-01 00:19:36 UTC (rev 11981)
@@ -201,7 +201,7 @@
 			if (ldb_attr_cmp(attrs[a], search_sub[i].attr) == 0 &&
 			    search_sub[i].replace) {
 				if (!search_attrs) {
-					search_attrs = ldb_attr_list_copy(module, attrs);
+					search_attrs = ldb_attr_list_copy(req, attrs);
 					if (search_attrs == NULL) {
 						goto failed;
 					}



More information about the samba-cvs mailing list