git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb6097
)
r19341: ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()
author
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Oct 2006 14:32:07 +0000
(14:32 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:21:13 +0000
(14:21 -0500)
metze
source/librpc/ndr/ndr.c
patch
|
blob
|
history
diff --git
a/source/librpc/ndr/ndr.c
b/source/librpc/ndr/ndr.c
index 6a48980c6e7928782ffd0c4662c57118a8826aa0..6ed533776a47561b96ee04fabf6208d96442bb5d 100644
(file)
--- a/
source/librpc/ndr/ndr.c
+++ b/
source/librpc/ndr/ndr.c
@@
-820,6
+820,8
@@
_PUBLIC_ NTSTATUS ndr_push_union_blob(DATA_BLOB *blob, TALLOC_CTX *mem_ctx, void
}
*blob = ndr_push_blob(ndr);
+ talloc_steal(mem_ctx, blob->data);
+ talloc_free(ndr);
return NT_STATUS_OK;
}