diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-30 08:30:15 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-31 14:42:02 +0200 |
commit | 933d5ee22b7f317d541224319a1b8fbf62fd4534 (patch) | |
tree | 06b4357f31dfc3c56000229b5c55d4775d6674de | |
parent | 2ef1159c0ddf92d727f7267bec91621be302833e (diff) | |
download | samba-933d5ee22b7f317d541224319a1b8fbf62fd4534.tar.gz samba-933d5ee22b7f317d541224319a1b8fbf62fd4534.tar.bz2 samba-933d5ee22b7f317d541224319a1b8fbf62fd4534.zip |
librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
metze
-rw-r--r-- | librpc/ndr/ndr_drsuapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_drsuapi.c b/librpc/ndr/ndr_drsuapi.c index 4d1ae8b163..0c790e52ca 100644 --- 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)); |