mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Fix a few memory leaks.
Mostly noticed in passing while using Address / Leak Sanitiser to
check over the previous commit. One highlight here is freeing of the
previous iqmp value in rsa_verify, which was actually a potentially
sensitive leak, introduced in the mp_int rewrite (commit 25b034ee3
).
This commit is contained in:
@ -519,6 +519,7 @@ static void read_clip_setting(settings_r *sesskey, char *savekey,
|
||||
val = CLIPUI_NONE;
|
||||
}
|
||||
conf_set_int(conf, confkey, val);
|
||||
sfree(setting);
|
||||
}
|
||||
|
||||
char *save_settings(const char *section, Conf *conf)
|
||||
|
Reference in New Issue
Block a user