diff options
author | 2023-07-28 16:56:45 -0300 | |
---|---|---|
committer | 2023-09-08 13:08:52 +0300 | |
commit | 44adcaacc877821729ab6d17ea826e1d6ce4bad6 (patch) | |
tree | 79954123b49e7121d72b10545cced1d69ad6a5e4 /scripts/qapi/source.py | |
parent | trivial: Simplify the spots that use TARGET_BIG_ENDIAN as a numeric value (diff) | |
download | qemu-44adcaacc877821729ab6d17ea826e1d6ce4bad6.tar.xz 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 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions