diff options
author | 2023-07-28 16:56:46 -0300 | |
---|---|---|
committer | 2023-09-08 13:08:52 +0300 | |
commit | 95eac43cb5f88afa7610470685bc5d25b301bd4d (patch) | |
tree | 420d65c9f29754c9b71424dc4b01da0798a99e87 /scripts/qapi/source.py | |
parent | hw/ppc: use g_free() in spapr_tce_table_post_load() (diff) | |
download | qemu-95eac43cb5f88afa7610470685bc5d25b301bd4d.tar.xz qemu-95eac43cb5f88afa7610470685bc5d25b301bd4d.zip |
target/ppc: use g_free() in test_opcode_table()
table[i] is allocated in create_new_table() using g_new().
Use g_free(table[i]) instead of free(table[i]) to comply with QEMU low
level memory management guidelines.
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
[Mjt: minor commit comment tweak]
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions