MFC r205118:

Free the memory allocated via strdup.

PR:	bin/113881
Submitted by:	Alexander Drozdov (dzal_mail at mtu-net.ru)
Approved by:	rrs (mentor)
This commit is contained in:
brucec 2010-04-20 20:24:00 +00:00
parent 4c4a2c02b8
commit 58afa96862

View File

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