humanize_number_basic: don't leak buf

MFC after:	3 days
Reported by:	Coverity
CID:		1251407
This commit is contained in:
Enji Cooper 2017-01-04 02:38:14 +00:00
parent 06cd8428bc
commit 251d8e776e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311229

View File

@ -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);