|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-devel
[Xen-devel] Re: [PATCH v2] xen_console: support the new extended	xenstor 
| 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
 | 
 |  | 
  
    |  |  |