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:
parent
3d44cb23c8
commit
871fb84047
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user