projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure our network layer is properly cleaned up before PuTTY exits.
[u/mdw/putty]
/
pageant.c
diff --git
a/pageant.c
b/pageant.c
index
12e03a8
..
c4eef55
100644
(file)
--- a/
pageant.c
+++ b/
pageant.c
@@
-1658,6
+1658,8
@@
void spawn_cmd(char *cmdline, char * args, int show)
}
}
}
}
+void cleanup_exit(int code) { exit(code); }
+
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
WNDCLASS wndclass;
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
{
WNDCLASS wndclass;