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:
parent
4c4a2c02b8
commit
58afa96862
@ -379,6 +379,7 @@ S_timeval(int l2, void *p)
|
||||
if (*p2 == '\n')
|
||||
*p2 = '\0';
|
||||
fputs(p1, stdout);
|
||||
free(p1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user