summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-08-04 15:20:27 +1200
committerJeremy Allison <jra@samba.org>2016-08-11 00:49:14 +0200
commitc533b60ceb761b609e78dfe270930cb99fdac848 (patch)
treee586270dfe8ef352a5fa4860074509727ccfa65a /source4/libnet
parent0a1627de6d7c70f2462a4d4db717ea50c8aefc2f (diff)
downloadsamba-c533b60ceb761b609e78dfe270930cb99fdac848.tar.gz
s4:dsdb/repl: Improve memory handling in replicated schema code
This attempts to make it clear what memory is short term and what memory is long term BUG: https://bugzilla.samba.org/show_bug.cgi?id=12115 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_vampire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 0186caf0617..60bfa419f90 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -332,7 +332,7 @@ static NTSTATUS libnet_vampire_cb_apply_schema(struct libnet_vampire_cb_state *s
"become dc",
"schema convert retrial", 1);
- status = dsdb_repl_resolve_working_schema(s->ldb, s,
+ status = dsdb_repl_resolve_working_schema(s->ldb,
pfm_remote,
cycle_before_switching,
provision_schema,