]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix two small memory leaks in config mechanism.
authorSimon Tatham <anakin@pobox.com>
Fri, 8 May 2015 17:57:18 +0000 (18:57 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 20 Jun 2015 08:39:14 +0000 (09:39 +0100)
commit4c24c8dc5a252a3d1df604ecb0cdfd82267aa94d
tree2759c88d6d047216bb8898aa06d1c96134f50cc4
parent452c49a996a2f8751176d3c34f914718cbef8280
Fix two small memory leaks in config mechanism.

The memory dangling off ssd->sesslist should be freed when ssd itself
goes away, and the font settings ctrlset we delete in gtkcfg.c should
be freed as well once it's been removed from its containing array.

Thanks to Ranjini Aravind for pointing these out.

(cherry picked from commit f4956a1f9dc66973c1a9c9196ef893412b2545d7)
config.c
unix/gtkcfg.c