cap_disas_plugin leaks memory
Bug #1860610 reported by
Robert Henry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
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.
Changed in qemu: | |
assignee: | Alex Bennée (ajbennee) → nobody |
To post a comment you must log in.
It looks like this will fail on all the other capstone cases as well. Is this an API change across versions?