mbox

[PULL] virtio-rng: fix memleak, use error_setg

Message ID 20140804092630.GM18947@grmbl.mre
State New
Headers show

Pull-request

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

Message

Amit Shah Aug. 4, 2014, 9:26 a.m. UTC
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

Comments

Peter Maydell Aug. 4, 2014, 1:40 p.m. UTC | #1
On 4 August 2014 10:26, Amit Shah <amit.shah@redhat.com> wrote:
> 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(-)

Applied, thanks.

-- PMM