All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: qemu-devel@nongnu.org
Subject: [Bug 1860610] Re: cap_disas_plugin leaks memory
Date: Fri, 31 Jan 2020 17:17:18 -0000	[thread overview]
Message-ID: <158049103885.8324.4901881910919671140.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: 157973034496.4473.7342941286220324914.malonedeb@soybean.canonical.com

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


  reply	other threads:[~2020-01-31 17:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-22 21:59 [Bug 1860610] [NEW] cap_disas_plugin leaks memory Robert Henry
2020-01-31 17:17 ` Alex Bennée [this message]
2020-01-31 19:56 ` [Bug 1860610] " Robert Henry
2020-02-06 11:36 ` Alex Bennée
2020-02-06 12:26 ` Alex Bennée
2020-08-08  9:55 ` Thomas Huth
2020-10-08  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=158049103885.8324.4901881910919671140.malone@chaenomeles.canonical.com \
    --to=alex.bennee@linaro.org \
    --cc=1860610@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.