Free the memory allocated via strdup.

PR:		bin/113881
Submitted by:	Alexander Drozdov  dzal_mail mtu-net.ru
Approved by:	rrs (mentor)
MFC after:	1 week
This commit is contained in:
Rebecca Cran 2010-03-13 11:08:57 +00:00
parent 338f1debcd
commit f2359a2473
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205118

View File

@ -382,6 +382,7 @@ S_timeval(int l2, void *p)
if (*p2 == '\n')
*p2 = '\0';
fputs(p1, stdout);
free(p1);
return (0);
}