git.samba.org
/
kamenim
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd8297
)
s4-dsdb: free right context on failure
author
Andrew Tridgell
<tridge@samba.org>
Fri, 10 Sep 2010 10:15:27 +0000
(20:15 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 15 Sep 2010 05:39:33 +0000
(15:39 +1000)
down_req is not initialised yet
source4/dsdb/samdb/ldb_modules/objectguid.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/objectguid.c
b/source4/dsdb/samdb/ldb_modules/objectguid.c
index b7dbb51bd78a36b9ae4b14d316c5dff21911f7da..8ab49d14724cf171dba23a0c7f475ba4a0c26508 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/objectguid.c
+++ b/
source4/dsdb/samdb/ldb_modules/objectguid.c
@@
-166,7
+166,7
@@
static int objectguid_add(struct ldb_module *module, struct ldb_request *req)
/* we have to copy the message as the caller might have it as a const */
msg = ldb_msg_copy_shallow(ac, req->op.add.message);
if (msg == NULL) {
- talloc_free(
down_req
);
+ talloc_free(
ac
);
return ldb_operr(ldb);
}