Glauber de Oliveira Costa
2006-Jan-04 15:15 UTC
[Xen-devel] [PATCH] Fix leak in blkback initialization
In case of failing due to lack of memory in the system, blkif_init potentially leaves a leak if some of the allocations was sucessfully suceeded. This patch frees the memory allocated, avoiding the leak. Signed-off-by: Glauber de Oliveira Costa <glommer@br.ibm.com> -- glommer _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Vincent Hanquez
2006-Jan-05 14:06 UTC
Re: [Xen-devel] [PATCH] Fix leak in blkback initialization
On Wed, Jan 04, 2006 at 03:15:06PM +0000, Glauber de Oliveira Costa wrote:> In case of failing due to lack of memory in the system, blkif_init > potentially leaves a leak if some of the allocations was sucessfully > suceeded. > > This patch frees the memory allocated, avoiding the leak.This has already been corrected (changeset 8469) Thanks, -- Vincent Hanquez _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Glauber de Oliveira Costa
2006-Jan-05 14:33 UTC
Re: [Xen-devel] [PATCH] Fix leak in blkback initialization
Yes, I saw that. It just happened to me to see the error a little bit before seeing the correction =] Thanks, glommer. On 1/5/06, Vincent Hanquez <vincent.hanquez@cl.cam.ac.uk> wrote:> On Wed, Jan 04, 2006 at 03:15:06PM +0000, Glauber de Oliveira Costa wrote: > > In case of failing due to lack of memory in the system, blkif_init > > potentially leaves a leak if some of the allocations was sucessfully > > suceeded. > > > > This patch frees the memory allocated, avoiding the leak. > > This has already been corrected (changeset 8469) > > Thanks, > -- > Vincent Hanquez > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >-- Free Software : Technology for a better world ============================Glauber de Oliveira Costa jabber: glommer@jabber.org ============================ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel