Skip to content
Snippets Groups Projects
Commit eee37d31 authored by Stefan Weil's avatar Stefan Weil Committed by Riku Voipio
Browse files

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: default avatarStefan Weil <weil@mail.berlios.de>
Signed-off-by: default avatarRiku Voipio <riku.voipio@nokia.com>
parent 28637533
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment