projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Paul van der Meij points out that do_reconfig() should not free
[u/mdw/putty]
/
scp.c
diff --git
a/scp.c
b/scp.c
index
79d3f9a
..
5e98536
100644
(file)
--- a/
scp.c
+++ b/
scp.c
@@
-2178,6
+2178,12
@@
int psftp_main(int argc, char *argv[])
if (gui_mode)
gui_send_errcount(list, errs);
+ cmdline_cleanup();
+ console_provide_logctx(NULL);
+ back->free(backhandle);
+ backhandle = NULL;
+ back = NULL;
+ sk_cleanup();
return (errs == 0 ? 0 : 1);
}