From: Kevin Wolf <kwolf@redhat.com>
To: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-io: delete bs instead of leaking it
Date: Thu, 27 Oct 2011 10:47:43 +0200 [thread overview]
Message-ID: <4EA91AAF.80509@redhat.com> (raw)
In-Reply-To: <1319701333-5700-1-git-send-email-stefanha@linux.vnet.ibm.com>
Am 27.10.2011 09:42, schrieb Stefan Hajnoczi:
> Using bdrv_close() is not enough to free a BlockDriverState. Since we
> explicitly create it with bdrv_new(), use bdrv_delete() to close and
> delete it.
>
> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
At the end of main() there's another bdrv_close() call that should be
changed.
Kevin
prev parent reply other threads:[~2011-10-27 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 7:42 [Qemu-devel] [PATCH] qemu-io: delete bs instead of leaking it Stefan Hajnoczi
2011-10-27 8:47 ` Kevin Wolf [this message]
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=4EA91AAF.80509@redhat.com \
--to=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@linux.vnet.ibm.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 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).