mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 03:22:48 -05:00
Fix a batch of resource leaks spotted by Coverity.
This commit is contained in:
@ -1256,6 +1256,7 @@ void add_certificate(HWND hwnd, struct MainDlgState *state,
|
||||
message_box(hwnd, msg, "PuTTYgen Error", MB_OK | MB_ICONERROR,
|
||||
HELPCTXID(errors_cantloadkey));
|
||||
sfree(msg);
|
||||
strbuf_free(pub);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user