All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] qemu-img: Release refernece to BlockDriverState
@ 2014-03-25 20:25 ` Prasad Joshi
  0 siblings, 0 replies; 6+ messages in thread
From: Prasad Joshi @ 2014-03-25 20:25 UTC (permalink / raw)
  To: prasadjoshi.linux
  Cc: kwolf, qemu-trivial, pl, qemu-devel, stefanha, pbonzini, eblake

Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
---
 qemu-img.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qemu-img.c b/qemu-img.c
index 2e40cc1..3d110d9 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -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;
         }
 
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-26  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-25 20:25 [Qemu-trivial] [PATCH] qemu-img: Release refernece to BlockDriverState Prasad Joshi
2014-03-25 20:25 ` [Qemu-devel] " Prasad Joshi
2014-03-25 21:19 ` [Qemu-trivial] for 2.0: " Eric Blake
2014-03-25 21:19   ` [Qemu-devel] " Eric Blake
2014-03-26  8:57 ` [Qemu-trivial] " Stefan Hajnoczi
2014-03-26  8:57   ` [Qemu-devel] " Stefan Hajnoczi

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.