diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2023-07-28 16:56:45 -0300 |
|---|---|---|
| committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-09-08 13:08:52 +0300 |
| commit | 44adcaacc877821729ab6d17ea826e1d6ce4bad6 (patch) | |
| tree | 79954123b49e7121d72b10545cced1d69ad6a5e4 /hw/core/vm-change-state-handler.c | |
| parent | ded625e7aa6a7f3173a22657f7dc0e9ab3d8fa3b (diff) | |
| download | focaccia-qemu-44adcaacc877821729ab6d17ea826e1d6ce4bad6.tar.gz focaccia-qemu-44adcaacc877821729ab6d17ea826e1d6ce4bad6.zip | |
hw/ppc: use g_free() in spapr_tce_table_post_load()
tcet->mig_table is copied from tcet->table, which in turn is created in spapr_tce_alloc_table() using g_new0(). Use g_free() instead of free() to deallocate it. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> [Mjt: fix commit comments]
Diffstat (limited to 'hw/core/vm-change-state-handler.c')
0 files changed, 0 insertions, 0 deletions