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

Re: [Xen-devel] [PATCH] Fix libxenstore memory leak when USE_PTHREAD is not defined, V2



On Fri, 2012-09-14 at 16:10 +0100, Ian Campbell wrote:
> On Fri, 2012-09-14 at 15:58 +0100, Andres Lagar-Cavilla wrote:
> > tools/xenstore/xs.c |  17 +++++++++++++----
> >  1 files changed, 13 insertions(+), 4 deletions(-)
> > 
> > 
> > Redefine usage of pthread_cleanup_push and _pop, to explicitly call free for
> > heap objects in error paths.
> > 
> > By the way, set a suitable errno value for an error path that had none.
> > 
> > This is V2 after comments from Ian Campbell.
> > 
> > Signed-off-by: Andres Lagar-Cavilla <andres@xxxxxxxxxxxxxxxx>
> 
> Looks good to me
> 
> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

and applied, thanks.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.