Skip to content
Snippets Groups Projects
Commit 95eac43c authored by Daniel Henrique Barboza's avatar Daniel Henrique Barboza Committed by Michael Tokarev
Browse files

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: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
[Mjt: minor commit comment tweak]
parent 44adcaac
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment