[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] plugins/cache: freed heap-allocated mutexes
From: |
Mahmoud Mandour |
Subject: |
[PATCH 1/5] plugins/cache: freed heap-allocated mutexes |
Date: |
Tue, 10 Aug 2021 15:48:40 +0200 |
Signed-off-by: Mahmoud Mandour <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.25.1
- [PATCH 0/5] plugins/cache: L2 cache modelling and a minor leak fix, Mahmoud Mandour, 2021/08/10
- [PATCH 1/5] plugins/cache: freed heap-allocated mutexes,
Mahmoud Mandour <=
- [PATCH 2/5] plugins/cache: implement unified L2 cache emulation, Mahmoud Mandour, 2021/08/10
- [PATCH 3/5] plugins/cache: split command line arguments into name and value, Mahmoud Mandour, 2021/08/10
- [PATCH 5/5] docs/tcg-plugins: add L2 arguments to cache docs, Mahmoud Mandour, 2021/08/10
- [PATCH 4/5] plugins/cache: make L2 emulation optional through args, Mahmoud Mandour, 2021/08/10
- Re: [PATCH 0/5] plugins/cache: L2 cache modelling and a minor leak fix, Mahmoud Mandour, 2021/08/10