Skip to contentSkip to conversation

qemu-img: Release refernece to BlockDriverState

PATCH Applied Prasad Joshi 3 participants 3 messages Mar 25, 2014 – Mar 26, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-img: Release refernece to BlockDriverState

---
 qemu-img.c | 1 +
 1 file changed, 1 insertion(+)
qemu-img.c +1 -0
index 2e40cc1..3d110d9 100644
@@ -1809,6 +1809,7 @@ static ImageInfoList *collect_image_info_list(const char *filename,
         if (err) {
             error_report("%s", error_get_pretty(err));
             error_free(err);
+            bdrv_unref(bs);
             goto err;
         }
 
Signature · 1 line
1.8.1.2
Reviewed-by on v1 1/1
#1 lore raw

[Qemu-devel] for 2.0: Re: [PATCH] qemu-img: Release refernece to BlockDriverState

On 03/25/2014 02:25 PM, Prasad Joshi wrote:

s/refernece/reference/ in the subject

This is worth including in 2.0

Quoted 4 lines
---
 qemu-img.c | 1 +
 1 file changed, 1 insertion(+)

With subject line fixed:

Appears to have been introduced in commit 43526ec

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org