summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-07-13 00:29:14 +0200
committerMichael Adam <obnox@samba.org>2012-07-13 02:51:44 +0200
commitbf650a1b59f84f93f79d753a6dc99940772fb020 (patch)
treeab3a5c23d40a63aae3e817a0a80ebfdfe9146a6b
parent342ab9750657bd34d7212f7121d47a06b6b12aa5 (diff)
downloadsamba-bf650a1b59f84f93f79d753a6dc99940772fb020.tar.gz
samba-bf650a1b59f84f93f79d753a6dc99940772fb020.tar.bz2
samba-bf650a1b59f84f93f79d753a6dc99940772fb020.zip
s4:registry:regdiff: use existing talloc context for the event context
Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jul 13 02:51:44 CEST 2012 on sn-devel-104
-rw-r--r--source4/lib/registry/tools/regdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c
index 08c88a62ed..cf65de3064 100644
--- a/source4/lib/registry/tools/regdiff.c
+++ b/source4/lib/registry/tools/regdiff.c
@@ -119,7 +119,7 @@ int main(int argc, const char **argv)
}
- ev_ctx = s4_event_context_init(NULL);
+ ev_ctx = s4_event_context_init(ctx);
h1 = open_backend(ctx, pc, ev_ctx, cmdline_lp_ctx, backend1, remote1);
if (h1 == NULL)