qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] qemu-io: delete bs instead of leaking it


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] qemu-io: delete bs instead of leaking it
Date: Thu, 27 Oct 2011 10:47:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0

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 <address@hidden>

At the end of main() there's another bdrv_close() call that should be
changed.

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]