mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 09:12:24 +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
|
else
|
||||||
str = dupprintf("%s Configuration", appname);
|
str = dupprintf("%s Configuration", appname);
|
||||||
c2pstrcpy(mactitle, str);
|
c2pstrcpy(mactitle, str);
|
||||||
|
sfree(str);
|
||||||
SetWTitle(s->settings_window, mactitle);
|
SetWTitle(s->settings_window, mactitle);
|
||||||
ShowWindow(s->settings_window);
|
ShowWindow(s->settings_window);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user