commit | 44adcaacc877821729ab6d17ea826e1d6ce4bad6 | [log] [tgz] |
---|---|---|
author | Daniel Henrique Barboza <danielhb413@gmail.com> | Fri Jul 28 16:56:45 2023 -0300 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Fri Sep 08 13:08:52 2023 +0300 |
tree | 79954123b49e7121d72b10545cced1d69ad6a5e4 | |
parent | ded625e7aa6a7f3173a22657f7dc0e9ab3d8fa3b [diff] |
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]