summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-27 16:42:18 +0200
committerGünther Deschner <gd@samba.org>2008-05-27 16:47:42 +0200
commit7cc9b5c5a12a84a3ac386cbff0b5174151202bff (patch)
tree52d8d21c894f8f2fc581fe37cf2a121b7b834db8
parentb7ef08507242bcf8dac09d9c204411ac074c7350 (diff)
downloadsamba-7cc9b5c5a12a84a3ac386cbff0b5174151202bff.tar.gz
samba-7cc9b5c5a12a84a3ac386cbff0b5174151202bff.tar.bz2
samba-7cc9b5c5a12a84a3ac386cbff0b5174151202bff.zip
drsuapi: fix data_blob_free() caller (this call is quite different in s3 and 4).
Guenther (This used to be commit 895036829c137558f7c03c31a8747a51fd290d18)
-rw-r--r--source3/librpc/ndr/ndr_drsuapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/ndr/ndr_drsuapi.c b/source3/librpc/ndr/ndr_drsuapi.c
index f12ac0ba61..8cd42b2cc1 100644
--- a/source3/librpc/ndr/ndr_drsuapi.c
+++ b/source3/librpc/ndr/ndr_drsuapi.c
@@ -144,7 +144,7 @@ enum ndr_err_code ndr_pull_drsuapi_DsReplicaOID(struct ndr_pull *ndr, int ndr_fl
} else {
_OID_PULL_CHECK(ber_read_OID_String(ndr, _oid_array, &_oid));
}
- data_blob_free(&_oid_array);
+ TALLOC_FREE(_oid_array.data);
talloc_steal(r->oid, _oid);
r->oid = _oid;
}