1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

sfree the memory dupprintf allocated

[originally from svn r5221]
This commit is contained in:
Owen Dunn 2005-01-28 11:50:56 +00:00
parent 3d44cb23c8
commit 871fb84047

View File

@ -113,6 +113,7 @@ static void mac_config(int midsession)
else
str = dupprintf("%s Configuration", appname);
c2pstrcpy(mactitle, str);
sfree(str);
SetWTitle(s->settings_window, mactitle);
ShowWindow(s->settings_window);
}