qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qemu-img: Release refernece to BlockDriverState
@ 2014-03-25 20:25 Prasad Joshi
  2014-03-25 21:19 ` [Qemu-devel] for 2.0: " Eric Blake
  2014-03-26  8:57 ` [Qemu-devel] " Stefan Hajnoczi
  0 siblings, 2 replies; 3+ 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

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] 3+ messages in thread

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

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

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