svn commit: samba r18395 - in branches/SAMBA_3_0/source/rpc_client:
.
jerry at samba.org
jerry at samba.org
Mon Sep 11 20:00:01 GMT 2006
Author: jerry
Date: 2006-09-11 20:00:00 +0000 (Mon, 11 Sep 2006)
New Revision: 18395
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18395
Log:
have the ndr layer alloc outgoing structure members for us
Modified:
branches/SAMBA_3_0/source/rpc_client/ndr.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_client/ndr.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_client/ndr.c 2006-09-11 19:33:27 UTC (rev 18394)
+++ branches/SAMBA_3_0/source/rpc_client/ndr.c 2006-09-11 20:00:00 UTC (rev 18395)
@@ -79,6 +79,8 @@
return NT_STATUS_NO_MEMORY;
}
+ /* have the ndr parser alloc memory for us */
+ pull->flags |= LIBNDR_FLAG_REF_ALLOC;
status = pull_fn(pull, NDR_OUT, data);
talloc_free(pull);
More information about the samba-cvs
mailing list