summaryrefslogtreecommitdiff
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r--hw/i386/pc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 06f89bd09b..5c11dc7818 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -845,7 +845,6 @@ static void load_linux(PCMachineState *pcms,
error_report("qemu: could not load kernel '%s': %s\n",
kernel_filename, strerror(errno));
- g_free(path);
exit(1);
}