diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2011-08-15 22:10:07 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-20 18:27:34 +0200 |
commit | f4094214ebc8ef7c5e8140605bc17907b5672b13 (patch) | |
tree | ffadc2efb1e7348bd791fd887897c3652856d547 /term/hurdio.c | |
parent | 849353cad0ad2b0a2242d7048368e06d96ffdea4 (diff) |
fix a realloc-related memory leak in localhost()
* libshouldbeinlibc/localhost.c (localhost): assign the return value
of realloc to a temporary variable to avoid losing the old value of
buf in the case of realloc failing.
Diffstat (limited to 'term/hurdio.c')
0 files changed, 0 insertions, 0 deletions