svn commit: samba r19341 - in branches/SAMBA_4_0/source/librpc/ndr: .

metze at samba.org metze at samba.org
Mon Oct 16 14:32:07 GMT 2006


Author: metze
Date: 2006-10-16 14:32:07 +0000 (Mon, 16 Oct 2006)
New Revision: 19341

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

Log:
ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()

metze
Modified:
   branches/SAMBA_4_0/source/librpc/ndr/ndr.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr.c	2006-10-16 14:29:14 UTC (rev 19340)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c	2006-10-16 14:32:07 UTC (rev 19341)
@@ -820,6 +820,8 @@
 	}
 
 	*blob = ndr_push_blob(ndr);
+	talloc_steal(mem_ctx, blob->data);
+	talloc_free(ndr);
 
 	return NT_STATUS_OK;
 }



More information about the samba-cvs mailing list