Fix memory leaks as reported by DrMemory and Valgrind.
ARM and probably the rest of the arches have significant memory leaks as they have no release interface. Additionally, DrMemory does not have 64-bit support and thus I can't test the 64-bit version under Windows. Under Linux valgrind supports both 32-bit and 64-bit but there are different macros and code for Linux and Windows.
This commit is contained in:
@ -2414,7 +2414,6 @@
|
||||
#define qemu_clock_get_us qemu_clock_get_us_mips
|
||||
#define qemu_clock_ptr qemu_clock_ptr_mips
|
||||
#define qemu_clocks qemu_clocks_mips
|
||||
#define qemu_cond_destroy qemu_cond_destroy_mips
|
||||
#define qemu_cpu_is_self qemu_cpu_is_self_mips
|
||||
#define qemu_cpu_kick_thread qemu_cpu_kick_thread_mips
|
||||
#define qemu_daemon qemu_daemon_mips
|
||||
@ -2442,7 +2441,6 @@
|
||||
#define qemu_log_flush qemu_log_flush_mips
|
||||
#define qemu_loglevel_mask qemu_loglevel_mask_mips
|
||||
#define qemu_log_vprintf qemu_log_vprintf_mips
|
||||
#define qemu_mutex_destroy qemu_mutex_destroy_mips
|
||||
#define qemu_mutex_lock_ramlist qemu_mutex_lock_ramlist_mips
|
||||
#define qemu_mutex_trylock qemu_mutex_trylock_mips
|
||||
#define qemu_mutex_unlock_ramlist qemu_mutex_unlock_ramlist_mips
|
||||
|
Reference in New Issue
Block a user