summaryrefslogtreecommitdiffstats
path: root/scripts/performance/topN_callgrind.py
diff options
context:
space:
mode:
authorMaxim Levitsky2020-10-19 18:37:01 +0200
committerThomas Huth2020-10-24 07:36:53 +0200
commitd232b87ec6e3a8a04db9b647f61a1e3a6855a58f (patch)
tree900e1bc191f4fb1700708a2731e923b2a935a487 /scripts/performance/topN_callgrind.py
parentlibqtest: fix the order of buffered events (diff)
downloadqemu-d232b87ec6e3a8a04db9b647f61a1e3a6855a58f.tar.gz
qemu-d232b87ec6e3a8a04db9b647f61a1e3a6855a58f.tar.xz
qemu-d232b87ec6e3a8a04db9b647f61a1e3a6855a58f.zip
libqtest: fix memory leak in the qtest_qmp_event_ref
The g_list_remove_link doesn't free the link element, opposed to what I thought. Switch to g_list_delete_link that does free it. Also refactor the code a bit. Thanks for Max Reitz for helping me with this. Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20201019163702.471239-4-mlevitsk@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/performance/topN_callgrind.py')
0 files changed, 0 insertions, 0 deletions