[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/14] migration: Free removed SaveStateEntry
From: |
Akihiko Odaki |
Subject: |
[PATCH 07/14] migration: Free removed SaveStateEntry |
Date: |
Wed, 26 Jun 2024 20:06:30 +0900 |
This suppresses LeakSanitizer warnings.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
migration/savevm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/migration/savevm.c b/migration/savevm.c
index c621f2359ba3..10b261823b7c 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -874,6 +874,8 @@ int vmstate_replace_hack_for_ppc(VMStateIf *obj, int
instance_id,
if (se) {
savevm_state_handler_remove(se);
+ g_free(se->compat);
+ g_free(se);
}
return vmstate_register(obj, instance_id, vmsd, opaque);
}
--
2.45.2
- [PATCH 04/14] spapr: Free stdout path, (continued)
[PATCH 06/14] hw/virtio: Free vqs before vhost_dev_cleanup(), Akihiko Odaki, 2024/06/26
[PATCH 08/14] memory: Do not create circular reference with subregion, Akihiko Odaki, 2024/06/26
[PATCH 07/14] migration: Free removed SaveStateEntry,
Akihiko Odaki <=
[PATCH 09/14] tests/qtest: Use qtest_add_data_func_full(), Akihiko Odaki, 2024/06/26
[PATCH 10/14] tests/qtest: Free unused QMP response, Akihiko Odaki, 2024/06/26
[PATCH 11/14] tests/qtest: Free old machine variable name, Akihiko Odaki, 2024/06/26
[PATCH 13/14] tests/qtest: Free paths, Akihiko Odaki, 2024/06/26
[PATCH 12/14] tests/qtest: Delete previous boot file, Akihiko Odaki, 2024/06/26
[PATCH 14/14] tests/qtest: Free GThread, Akihiko Odaki, 2024/06/26