Date: Sat, 7 Jan 2017 09:24:37 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r311617 - stable/11/contrib/netbsd-tests/lib/libc/gen Message-ID: <201701070924.v079ObSU099105@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Sat Jan 7 09:24:37 2017 New Revision: 311617 URL: https://svnweb.freebsd.org/changeset/base/311617 Log: MFC r311229: humanize_number_basic: don't leak buf CID: 1251407 Modified: stable/11/contrib/netbsd-tests/lib/libc/gen/t_humanize_number.c Directory Properties: stable/11/ (props changed) Modified: stable/11/contrib/netbsd-tests/lib/libc/gen/t_humanize_number.c ============================================================================== --- stable/11/contrib/netbsd-tests/lib/libc/gen/t_humanize_number.c Sat Jan 7 09:21:26 2017 (r311616) +++ stable/11/contrib/netbsd-tests/lib/libc/gen/t_humanize_number.c Sat Jan 7 09:24:37 2017 (r311617) @@ -247,6 +247,9 @@ ATF_TC_BODY(humanize_number_basic, tc) newline(); atf_tc_fail_nonfatal("Failed for table entry %d", i); } +#ifdef __FreeBSD__ + free(buf); +#endif } ATF_TC(humanize_number_big);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701070924.v079ObSU099105>