[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 13/28] plugins/cache: freed heap-allocated mutexes
From: |
Alex Bennée |
Subject: |
[PATCH v1 13/28] plugins/cache: freed heap-allocated mutexes |
Date: |
Tue, 26 Oct 2021 11:22:19 +0100 |
From: Mahmoud Mandour <ma.mandourr@gmail.com>
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>
---
contrib/plugins/cache.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/contrib/plugins/cache.c b/contrib/plugins/cache.c
index a1e03ca882..a255e26e25 100644
--- 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);
}
--
2.30.2
- [PATCH v1 25/28] plugins: add helper functions for coverage plugins, (continued)
- [PATCH v1 25/28] plugins: add helper functions for coverage plugins, Alex Bennée, 2021/10/26
- [PATCH v1 08/28] tests/tcg: Fix some targets default cross compiler path, Alex Bennée, 2021/10/26
- [PATCH v1 17/28] docs/tcg-plugins: add L2 arguments to cache docs, Alex Bennée, 2021/10/26
- [PATCH v1 18/28] chardev: don't exit() straight away on C-a x, Alex Bennée, 2021/10/26
- [PATCH v1 19/28] tests/plugins: extend the insn plugin to track opcode sizes, Alex Bennée, 2021/10/26
- [PATCH v1 26/28] contrib/plugins: add a drcov plugin, Alex Bennée, 2021/10/26
- [PATCH v1 28/28] gdbstub: Switch to the thread receiving a signal, Alex Bennée, 2021/10/26
- [PATCH v1 15/28] plugins/cache: split command line arguments into name and value, Alex Bennée, 2021/10/26
- [PATCH v1 13/28] plugins/cache: freed heap-allocated mutexes,
Alex Bennée <=
- [PATCH v1 23/28] tracing: remove the trace-tcg includes from the build, Alex Bennée, 2021/10/26
- [PATCH v1 24/28] tracing: excise the tcg related from tracetool, Alex Bennée, 2021/10/26
- [PATCH v1 14/28] plugins/cache: implement unified L2 cache emulation, Alex Bennée, 2021/10/26
- [PATCH v1 22/28] tracing: remove TCG memory access tracing, Alex Bennée, 2021/10/26
- [PATCH v1 27/28] tests/tcg: remove duplicate EXTRA_RUNS, Alex Bennée, 2021/10/26