svn commit: samba r12553 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
abartlet at samba.org
abartlet at samba.org
Wed Dec 28 22:43:13 GMT 2005
Author: abartlet
Date: 2005-12-28 22:43:12 +0000 (Wed, 28 Dec 2005)
New Revision: 12553
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12553
Log:
Steal the error string onto this context, so that the caller doesn't
have to think about exactly what the right context to hang it of is.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2005-12-28 22:40:33 UTC (rev 12552)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c 2005-12-28 22:43:12 UTC (rev 12553)
@@ -260,6 +260,6 @@
talloc_free(module->ldb->err_string);
}
- module->ldb->err_string = err_string;
+ module->ldb->err_string = talloc_steal(module->ldb, err_string);
}
More information about the samba-cvs
mailing list