From: simon Date: Tue, 20 Jan 2004 19:46:00 +0000 (+0000) Subject: Paul van der Meij points out that do_reconfig() should not free X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/408478526e8140d94dce70528152c5709ff7d53d Paul van der Meij points out that do_reconfig() should not free dp.errtitle, since it's also freed in dp_cleanup(). Minefield agrees. Fixed. git-svn-id: svn://svn.tartarus.org/sgt/putty@3743 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windlg.c b/windlg.c index 3bdcefff..a7c3776c 100644 --- 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)