[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug 1860610] Re: cap_disas_plugin leaks memory
From: |
Alex Bennée |
Subject: |
[Bug 1860610] Re: cap_disas_plugin leaks memory |
Date: |
Fri, 31 Jan 2020 17:17:18 -0000 |
It looks like this will fail on all the other capstone cases as well. Is
this an API change across versions?
** Tags added: plugin tcg
** Changed in: qemu
Assignee: (unassigned) => Alex Bennée (ajbennee)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860610
Title:
cap_disas_plugin leaks memory
Status in QEMU:
New
Bug description:
Looking at origin/master head, the function cap_disas_plugin leaks
memory.
per capstone's examples using their ABI, cs_free(insn, count); needs
to called just before cs_close.
I discovered this running qemu under valgrind.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860610/+subscriptions