git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ef1159
)
librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
author
Stefan Metzmacher
<metze@samba.org>
Thu, 30 Jul 2009 06:30:15 +0000
(08:30 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 31 Jul 2009 12:42:02 +0000
(14:42 +0200)
metze
librpc/ndr/ndr_drsuapi.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_drsuapi.c
b/librpc/ndr/ndr_drsuapi.c
index 4d1ae8b163d28d59d3ef4544243020e7f7f9efaa..0c790e52ca7a8b75f4701c02b257741b50915c8a 100644
(file)
--- a/
librpc/ndr/ndr_drsuapi.c
+++ b/
librpc/ndr/ndr_drsuapi.c
@@
-102,6
+102,7
@@
enum ndr_err_code ndr_push_drsuapi_DsReplicaOID(struct ndr_push *ndr, int ndr_fl
}
} else {
_OID_PUSH_CHECK(ber_write_OID_String(&blob, r->oid));
+ talloc_steal(ndr, blob.data);
}
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, blob.length));