Skip to contentSkip to conversation

virtio-rng: fix memleak, use error_setg

GIT PULL Applied Amit Shah 2 participants 2 messages Aug 4, 2014

lore
Share & tools
lore

Amit Shah

author
#0 lore 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

#1 lore raw
Quoted 19 lines · Amit Shah

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)

Quoted 7 lines

----------------------------------------------------------------
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