simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun May 8 09:09:32 BST 2022


TL;DR:
  9e4fe43a Merge Winelib build fixes from 'pre-0.77'.
  e29b6eb5 Memory handling fixes when taking demo screenshots.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2022-05-08 09:09:32

commit 9e4fe43a93f5ce2cfc213897671070782e11def1
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9e4fe43a93f5ce2cfc213897671070782e11def1;hp=b753cf6e3b7e439ed95b8e6df4a0aefaa5e27bed
Merge: b753cf6e ac3ebcc8
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun May 8 08:44:32 2022 +0100

    Merge Winelib build fixes from 'pre-0.77'.

commit e29b6eb5d2f81298a1d214cf1c3dc0653d6b900b
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e29b6eb5d2f81298a1d214cf1c3dc0653d6b900b;hp=9e4fe43a93f5ce2cfc213897671070782e11def1
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun May 8 08:51:45 2022 +0100

    Memory handling fixes when taking demo screenshots.
    
    save_screenshot() returns a dynamically allocated error message in
    case of failure, and Coverity complained of a memory leak when it was
    ignored in putty.c.
    
    The memory leak is trivial, because we were about to terminate the
    process with an error anyway. But it's a good point that I forgot to
    report the error!
    
    Not critical enough to fix on 0.77 (where Coverity found it), but we
    might as well make it look sensible on main.

 windows/dialog.c   | 6 ++++--
 windows/putty.c    | 6 +++++-
 windows/puttygen.c | 6 ++++--
 3 files changed, 13 insertions(+), 5 deletions(-)



More information about the tartarus-commits mailing list