提交 3aee288b 编写于 作者: B bellard

fixed memory leak


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1890 c046a42c-6fe2-441c-8c8c-71466251a162
上级 bdbd7676
......@@ -195,6 +195,7 @@ int glue(load_elf, SZ)(int fd, int64_t virt_to_phys_addend,
data = NULL;
}
}
qemu_free(phdr);
return total_size;
fail:
qemu_free(data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册