qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] rbd: avoid qemu_rbd_snap_list() memory leaks


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v2] rbd: avoid qemu_rbd_snap_list() memory leaks
Date: Wed, 25 Sep 2013 16:23:27 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Am 25.09.2013 um 16:00 hat Stefan Hajnoczi geschrieben:
> When there are no snapshots qemu_rbd_snap_list() returns 0 and the
> snapshot table pointer is NULL.  Don't forget to free the snaps buffer
> we allocated for librbd rbd_snap_list().
> 
> When the function succeeds don't forget to free the snaps buffer after
> calling rbd_snap_list_end().
> 
> Cc: address@hidden
> Signed-off-by: Stefan Hajnoczi <address@hidden>

Thanks, updated the block branch with this.

Kevin



reply via email to

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