diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-09 21:28:33 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-12-10 20:50:53 -0800 |
commit | fa46fad55550e100c50a3f4208aa953a29cfc3df (patch) | |
tree | 244cdc420dfd1a7bdcf9432aea9106eb7372cdc0 /autogen.sh | |
parent | 2cc2b4bf7f370c5c804f4e75228677b2c58f1d7f (diff) |
Stop leaking temporary buffer when realloc fails to enlarge it
Fixes cppcheck error:
[readfile.c:108]: (error) Common realloc mistake: 'cp' nulled
but not freed upon failure
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: wharms <wharms@bfs.de>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions