Skip to content

Commit

Permalink
s4: free popt context in client
Browse files Browse the repository at this point in the history
If done with popt context it should be free'd.

Signed-off-by: Swen Schillig <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
Reviewed-by: Ralph Böhme <[email protected]>
  • Loading branch information
sswen authored and abartlet committed Aug 22, 2019
1 parent 42123c1 commit 72d3604
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source4/client/cifsdd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 72d3604

Please sign in to comment.