commit | 8d79de6e42947a4a11ad7c7bb87e8f745a4f8321 | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Mon Jan 17 21:36:06 2011 +0100 |
committer | Riku Voipio <riku.voipio@nokia.com> | Wed Feb 09 10:33:53 2011 +0200 |
tree | cbaf57f93cce4e3f7304f44acb03c8ba77324743 | |
parent | 6672b0b22a8ab92ad3a07889c2220a7568a3da30 [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>