1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-16 18:47:32 -05:00

Joe Yates's memory leak patches.

[originally from svn r3650]
This commit is contained in:
Simon Tatham
2003-12-19 12:44:46 +00:00
parent 20bc740780
commit 7a1eae7ff2
10 changed files with 118 additions and 8 deletions

6
scp.c
View File

@ -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);
}