[PATCH] regress: fix memleak in snprintftest

Darren Tucker dtucker at dtucker.net
Mon Aug 5 21:42:23 AEST 2019


Applied thanks, except:

On Mon, 5 Aug 2019 at 16:38, Jitendra Sharma <jitendra.sharma at intel.com> wrote:
> +       if(src)
> +               free(src);

free(NULL) is defined as a no-op so the test is superfluous and I
omitted it from the commit.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list