svn commit: samba r19326 - in branches/SAMBA_4_0/source/librpc/ndr:
.
tridge at samba.org
tridge at samba.org
Mon Oct 16 11:03:13 GMT 2006
Author: tridge
Date: 2006-10-16 11:03:12 +0000 (Mon, 16 Oct 2006)
New Revision: 19326
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19326
Log:
don't leak a ndr_push structure on ndr_push_struct_blob()
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 10:51:23 UTC (rev 19325)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr.c 2006-10-16 11:03:12 UTC (rev 19326)
@@ -795,6 +795,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