git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c4a27
)
drsuapi: fix data_blob_free() caller (this call is quite different in s3 and 4).
author
Günther Deschner
<gd@samba.org>
Tue, 27 May 2008 14:42:18 +0000
(16:42 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 27 May 2008 14:47:42 +0000
(16:47 +0200)
Guenther
source/librpc/ndr/ndr_drsuapi.c
patch
|
blob
|
history
diff --git
a/source/librpc/ndr/ndr_drsuapi.c
b/source/librpc/ndr/ndr_drsuapi.c
index f12ac0ba61aafaba87e95b533834efbe06a04b2a..8cd42b2cc16a300bfe66ac16b5dc9938bae7cc35 100644
(file)
--- a/
source/librpc/ndr/ndr_drsuapi.c
+++ b/
source/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;
}