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

[Xen-devel] Re: [PATCH v2] xen_console: support the new extended xenstore protocol



On 28 June 2011 15:55,  <stefano.stabellini@xxxxxxxxxxxxx> wrote:
> + Â Âxs = xs_daemon_open();
> + Â Âif (xs == NULL) {
> + Â Â Â Âfprintf(stderr, "Could not contact XenStore\n");
> + Â Â Â Âgoto out;
> + Â Â}

> +out:
> + Â Âfree(path);
> + Â Âxs_daemon_close(xs);

Google suggests xs_daemon_close(NULL) will crash...

-- PMM

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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