qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Amit Shah <amit.shah@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: John Snow <jsnow@redhat.com>, qemu list <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PULL] virtio-rng: fix memleak, use error_setg
Date: Mon, 4 Aug 2014 14:56:30 +0530	[thread overview]
Message-ID: <20140804092630.GM18947@grmbl.mre> (raw)

Hi,

This patchset fixes a memleak in virtio-rng init and moves from
error_set to error_setg.

Please pull.

The following changes since commit c79805802ba0463713c253307d99ebef56436b8c:

  Open 2.2 development tree (2014-08-01 18:30:08 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/virt/qemu/amit/virtio-rng.git for-2.2

for you to fetch changes up to c617dd3b7e8e82511060b8f7a9c51e46c5c1e87a:

  virtio-rng: replace error_set calls with error_setg (2014-08-04 14:50:11 +0530)

----------------------------------------------------------------
John Snow (2):
      virtio-rng: Move error-checking forward to prevent memory leak
      virtio-rng: replace error_set calls with error_setg

 hw/virtio/virtio-rng.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)


		Amit

             reply	other threads:[~2014-08-04  9:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-04  9:26 Amit Shah [this message]
2014-08-04 13:40 ` [Qemu-devel] [PULL] virtio-rng: fix memleak, use error_setg Peter Maydell

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=20140804092630.GM18947@grmbl.mre \
    --to=amit.shah@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).