s4:registry:regdiff: use existing talloc context for the event context
authorMichael Adam <obnox@samba.org>
Thu, 12 Jul 2012 22:29:14 +0000 (00:29 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 13 Jul 2012 00:51:44 +0000 (02:51 +0200)
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Jul 13 02:51:44 CEST 2012 on sn-devel-104

source4/lib/registry/tools/regdiff.c

index 08c88a62edf40dfabe6bcc3e2b01e38b542b7834..cf65de30642e7ba5d6bc68a004691114ddac6516 100644 (file)
@@ -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)