From: Prasad Joshi <prasadjoshi.linux@gmail.com>
To: prasadjoshi.linux@gmail.com
Cc: kwolf@redhat.com, qemu-trivial@nongnu.org, pl@kamp.de,
qemu-devel@nongnu.org, stefanha@redhat.com, pbonzini@redhat.com,
eblake@redhat.com
Subject: [Qemu-trivial] [PATCH] qemu-img: Release refernece to BlockDriverState
Date: Wed, 26 Mar 2014 01:55:53 +0530 [thread overview]
Message-ID: <1395779153-4536-1-git-send-email-prasadjoshi.linux@gmail.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: Prasad Joshi <prasadjoshi.linux@gmail.com>
To: prasadjoshi.linux@gmail.com
Cc: kwolf@redhat.com, qemu-trivial@nongnu.org, pl@kamp.de,
qemu-devel@nongnu.org, stefanha@redhat.com, pbonzini@redhat.com
Subject: [Qemu-devel] [PATCH] qemu-img: Release refernece to BlockDriverState
Date: Wed, 26 Mar 2014 01:55:53 +0530 [thread overview]
Message-ID: <1395779153-4536-1-git-send-email-prasadjoshi.linux@gmail.com> (raw)
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
next reply other threads:[~2014-03-25 20:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 20:25 Prasad Joshi [this message]
2014-03-25 20:25 ` [Qemu-devel] [PATCH] qemu-img: Release refernece to BlockDriverState 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1395779153-4536-1-git-send-email-prasadjoshi.linux@gmail.com \
--to=prasadjoshi.linux@gmail.com \
--cc=eblake@redhat.com \
--cc=kwolf@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.