From 933d5ee22b7f317d541224319a1b8fbf62fd4534 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 30 Jul 2009 08:30:15 +0200 Subject: librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID() metze --- librpc/ndr/ndr_drsuapi.c | 1 + 1 file changed, 1 insertion(+) 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)); -- cgit