diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index dfdaf048b3f..dadff84bda5 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -689,6 +689,8 @@ int main(int argc, const char ** argv) CatchSignal(SIGINT, dd_handle_signal); CatchSignal(SIGUSR1, dd_handle_signal); rc = copy_files(ev, cmdline_lp_ctx); + + poptFreeContext(pctx); talloc_free(ev); return rc; }