simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri May 8 19:06:34 BST 2015


TL;DR:
  f4956a1 Fix two small memory leaks in config mechanism.
  42c592c Completely remove the privdata mechanism in dialog.h.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-05-08 19:06:34

commit f4956a1f9dc66973c1a9c9196ef893412b2545d7
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=f4956a1f9dc66973c1a9c9196ef893412b2545d7;hp=1f4dc6faa7e371cc2c43464006c1b46fecb8987d
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri May 8 18:57:18 2015 +0100

    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.

 config.c      |    1 +
 unix/gtkcfg.c |    1 +
 2 files changed, 2 insertions(+)

commit 42c592c4ef024af30af91241f651f699d6dbff0b
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=42c592c4ef024af30af91241f651f699d6dbff0b;hp=f4956a1f9dc66973c1a9c9196ef893412b2545d7
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri May 8 19:04:16 2015 +0100

    Completely remove the privdata mechanism in dialog.h.
    
    The last use of it, to store the contents of the saved session name
    edit box, was removed nearly two years ago in svn r9923 and replaced
    by ctrl_alloc_with_free. The mechanism has been unused ever since
    then, and I suspect any further uses of it would be a bad idea for the
    same reasons, so let's get rid of it.

 dialog.h           |   15 ----------
 macosx/osxctrls.m  |   34 ----------------------
 unix/gtkdlg.c      |   34 ----------------------
 windows/winctrls.c |   79 ----------------------------------------------------
 4 files changed, 162 deletions(-)



More information about the tartarus-commits mailing list