simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Mar 31 11:17:24 BST 2019


TL;DR:
  7a49ff9a sk_namelookup: fix memory leak on error exit path.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-03-31 11:17:24

commit 7a49ff9ac1f65944434176251b0bfea9fcc44636
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7a49ff9ac1f65944434176251b0bfea9fcc44636;hp=dd3f04ec4052760eeccd971525c79feade83d411
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Mar 31 11:14:13 2019 +0100

    sk_namelookup: fix memory leak on error exit path.
    
    I remembered to strbuf_free(realhost) on the IPv4-only error exit path
    if gethostbyname() returns failure, but not on the _default_ one if
    getaddrinfo() does.

 unix/uxnet.c | 1 +
 1 file changed, 1 insertion(+)



More information about the tartarus-commits mailing list