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

Re: [Xen-devel] [PATCH v1] xl: free bitmaps on exit



On Mon, Nov 26, 2018 at 04:04:08PM +0100, Olaf Hering wrote:
> Am Mon, 26 Nov 2018 15:58:22 +0100
> schrieb Olaf Hering <olaf@xxxxxxxxx>:
> 
> > +++ b/tools/xl/xl.c
> > @@ -229,6 +229,9 @@ static void parse_global_config(const char *configfile,
> 
> Actually I think that should go to xl_ctx_free() instead. I moved it down to 
> parse_global_config() by accident.

You can't just put the _dispose into xl_ctx_free.  Because xl_ctx_free
can be called before calling parse_global_config.  You also need to put
the _init calls into xl_ctx_alloc.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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