mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 13:32:48 -05:00
Add an assortment of missing frees and closes.
Coverity's resource-leak checker is on the ball as usual.
This commit is contained in:
@ -58,6 +58,7 @@ void init_help(void)
|
||||
HINSTANCE dllHH = load_system32_dll("hhctrl.ocx");
|
||||
GET_WINDOWS_FUNCTION(dllHH, HtmlHelpA);
|
||||
if (!p_HtmlHelpA) {
|
||||
sfree(chm_path);
|
||||
chm_path = NULL;
|
||||
if (dllHH)
|
||||
FreeLibrary(dllHH);
|
||||
|
Reference in New Issue
Block a user