git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42123c1
)
s4: free popt context in client
author
Swen Schillig
<swen@linux.ibm.com>
Mon, 19 Aug 2019 12:29:22 +0000
(14:29 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 22 Aug 2019 00:21:50 +0000
(
00:21
+0000)
If done with popt context it should be free'd.
Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
source4/client/cifsdd.c
patch
|
blob
|
history
diff --git
a/source4/client/cifsdd.c
b/source4/client/cifsdd.c
index dfdaf048b3f4c863e6e0fb6a96f7bc512201b5e7..dadff84bda53df3af74676ab50a5cb7ba72b5be2 100644
(file)
--- 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;
}