diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-09-10 20:15:27 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-09-15 15:39:33 +1000 |
commit | 597372df34ba48b96e5c9cad4d552ce1b932b66e (patch) | |
tree | 1c3c7b4207ffeeed13bb65cea203191f9cf93d63 /source4 | |
parent | cbd8297b4dcf9446e30b752d977e15ba440dff70 (diff) | |
download | samba-597372df34ba48b96e5c9cad4d552ce1b932b66e.tar.gz samba-597372df34ba48b96e5c9cad4d552ce1b932b66e.tar.bz2 samba-597372df34ba48b96e5c9cad4d552ce1b932b66e.zip |
s4-dsdb: free right context on failure
down_req is not initialised yet
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectguid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectguid.c b/source4/dsdb/samdb/ldb_modules/objectguid.c index b7dbb51bd7..8ab49d1472 100644 --- 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); } |