aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-01-17 21:36:06 +0100
committerRiku Voipio <riku.voipio@nokia.com>2011-02-09 10:33:53 +0200
commit8d79de6e42947a4a11ad7c7bb87e8f745a4f8321 (patch)
treecbaf57f93cce4e3f7304f44acb03c8ba77324743 /linux-user/syscall.c
parent6672b0b22a8ab92ad3a07889c2220a7568a3da30 (diff)
linux-user: Fix possible realloc memory leak
Extract from "man realloc": "If realloc() fails the original block is left untouched; it is not freed or moved." Fix a possible memory leak (reported by cppcheck). Cc: Riku Voipio <riku.voipio@iki.fi> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Diffstat (limited to 'linux-user/syscall.c')
0 files changed, 0 insertions, 0 deletions