mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 20:33:54 -06:00
plugins/cache: freed heap-allocated mutexes
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210810134844.166490-2-ma.mandourr@gmail.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20211026102234.3961636-14-alex.bennee@linaro.org>
This commit is contained in:
parent
482cd5f08e
commit
ad039c506e
1 changed files with 3 additions and 0 deletions
|
@ -614,6 +614,9 @@ static void plugin_exit(qemu_plugin_id_t id, void *p)
|
|||
caches_free(dcaches);
|
||||
caches_free(icaches);
|
||||
|
||||
g_free(dcache_locks);
|
||||
g_free(icache_locks);
|
||||
|
||||
g_hash_table_destroy(miss_ht);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue