projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482cd5f
)
plugins/cache: freed heap-allocated mutexes
author
Mahmoud Mandour
<ma.mandourr@gmail.com>
Tue, 26 Oct 2021 10:22:19 +0000
(11:22 +0100)
committer
Alex Bennée
<alex.bennee@linaro.org>
Thu, 4 Nov 2021 10:32:01 +0000
(10:32 +0000)
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>
contrib/plugins/cache.c
patch
|
blob
|
history
diff --git
a/contrib/plugins/cache.c
b/contrib/plugins/cache.c
index a1e03ca882025ffc2a04165984ac2678c960779b..a255e26e257a078059da055519e57e8f79b214ba 100644
(file)
--- a/
contrib/plugins/cache.c
+++ b/
contrib/plugins/cache.c
@@
-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);
}