diff options
author | Stefan Weil | 2011-10-18 22:25:38 +0200 |
---|---|---|
committer | Blue Swirl | 2011-11-19 12:22:24 +0100 |
commit | 9643c25f8d67646857159d6fc021b07e7a659192 (patch) | |
tree | 3ce5f4b6a32c0d3dd814e27937a11d3334680dfe /hw/loader.h | |
parent | tcg-sparc: Fix set-but-not used warnings. (diff) | |
download | qemu-9643c25f8d67646857159d6fc021b07e7a659192.tar.gz qemu-9643c25f8d67646857159d6fc021b07e7a659192.tar.xz qemu-9643c25f8d67646857159d6fc021b07e7a659192.zip |
gdbstub: Fix memory leak
cppcheck report:
gdbstub.c:1781: error: Memory leak: s
Rearranging of the code avoids the leak.
v2:
Replace the g_malloc0() by g_new0() (suggested by Stuart Brady).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/loader.h')
0 files changed, 0 insertions, 0 deletions