aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_lz.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-01-16 16:28:20 +0100
committerBlue Swirl <blauwirbel@gmail.com>2011-01-17 20:23:47 +0000
commit29718712eb2e53c09d28f08e39f6514d690f6fd3 (patch)
tree76f3b5c5e368ff2d4fee69cd3a44bfcf0d2f80cb /tests/cris/check_lz.c
parent07d8a50cb0e096c5cdc5a81b8030e40833664dd3 (diff)
bsd-user: Fix possible memory leaks and wrong realloc call
These errors were reported by cppcheck: [bsd-user/elfload.c:1108]: (error) Common realloc mistake: "syms" nulled but not freed upon failure [bsd-user/elfload.c:1076]: (error) Memory leak: s [bsd-user/elfload.c:1079]: (error) Memory leak: syms v2: * The previous fix for memory leaks was incomplete (thanks to Peter Maydell for te hint). * Fix wrong realloc usage, too. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/cris/check_lz.c')
0 files changed, 0 insertions, 0 deletions