svn commit: samba r4546 - in
branches/SAMBA_4_0/source/scripting/swig: .
tpot at samba.org
tpot at samba.org
Thu Jan 6 02:10:33 GMT 2005
Author: tpot
Date: 2005-01-06 02:10:33 +0000 (Thu, 06 Jan 2005)
New Revision: 4546
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4546
Log:
Use talloc_p() instad of talloc()
Modified:
branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/dcerpc.i 2005-01-06 00:45:39 UTC (rev 4545)
+++ branches/SAMBA_4_0/source/scripting/swig/dcerpc.i 2005-01-06 02:10:33 UTC (rev 4546)
@@ -313,7 +313,7 @@
return;
}
- *s = talloc(mem_ctx, sizeof(DATA_BLOB));
+ *s = talloc_p(mem_ctx, DATA_BLOB);
(*s)->length = PyString_Size(obj);
(*s)->data = PyString_AsString(obj);
More information about the samba-cvs
mailing list