]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windlg.c
Implement `Restart Session', in both Unix and Windows PuTTY. Largely
[PuTTY.git] / windlg.c
index 3bdcefff996cfc011bdaecbda8fef39e840e060e..9c24449be168ff450846185fdbceae4c4e1c2f86 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -13,6 +13,7 @@
 
 #include <commctrl.h>
 #include <commdlg.h>
+#include <shellapi.h>
 
 #ifdef MSVC4
 #define TVINSERTSTRUCT  TV_INSERTSTRUCT
@@ -648,7 +649,6 @@ int do_reconfig(HWND hwnd)
     ctrl_free_box(ctrlbox);
     winctrl_cleanup(&ctrls_base);
     winctrl_cleanup(&ctrls_panel);
-    sfree(dp.errtitle);
     dp_cleanup(&dp);
 
     if (!ret)