projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acff77b
)
e500: fix memory leak
author
Michael Tokarev
<mjt@tls.msk.ru>
Sat, 28 Feb 2015 17:27:43 +0000
(20:27 +0300)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000
(08:15 +0300)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
hw/ppc/e500.c
patch
|
blob
|
history
diff --git
a/hw/ppc/e500.c
b/hw/ppc/e500.c
index
fd0d138
..
d51fb60
100644
(file)
--- a/
hw/ppc/e500.c
+++ b/
hw/ppc/e500.c
@@
-308,6
+308,7
@@
static int ppce500_load_device_tree(MachineState *machine,
}
fdt = load_device_tree(filename, &fdt_size);
+ g_free(filename);
if (!fdt) {
goto out;
}