summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-09-29 18:53:51 -0700
committerAndrew Bartlett <abartlet@samba.org>2011-10-06 02:11:34 +0200
commit55054182b2989c6432e20a61c9b281596d5682ef (patch)
tree0754168612ef6b6a6174a4b4381f1fe02e3049d1 /source4/dsdb
parent5c5d86997593fd7ed9efc0f214f2e978c13083ac (diff)
downloadsamba-55054182b2989c6432e20a61c9b281596d5682ef.tar.gz
samba-55054182b2989c6432e20a61c9b281596d5682ef.tar.bz2
samba-55054182b2989c6432e20a61c9b281596d5682ef.zip
dsdb: fix double-free in replication failure case on RODC
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 7a642426b4..0418c04856 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -2560,7 +2560,7 @@ static int replmd_rename_callback(struct ldb_request *req, struct ldb_reply *are
lpcfg_dnsdomain(lp_ctx),
ldb_dn_get_linearized(olddn));
ret = ldb_module_send_referral(req, referral);
- talloc_free(ac);
+ talloc_free(ares);
return ldb_module_done(req, NULL, NULL, ret);
}