]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Paul van der Meij points out that do_reconfig() should not free
authorSimon Tatham <anakin@pobox.com>
Tue, 20 Jan 2004 19:46:00 +0000 (19:46 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 20 Jan 2004 19:46:00 +0000 (19:46 +0000)
dp.errtitle, since it's also freed in dp_cleanup(). Minefield
agrees. Fixed.

[originally from svn r3743]

windlg.c

index 3bdcefff996cfc011bdaecbda8fef39e840e060e..a7c3776cc053579e51e56cc5a534f66ab6fd1229 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -648,7 +648,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)