On Tue, 28 Jun 2011, Peter Maydell wrote:
> On 28 June 2011 12:34, wrote:
> > + path = xs_get_domain_path(xs, domid);
> > + if (path == NULL) {
> > + fprintf(stderr, "xs_get_domain_path() error\n");
> > + return -1;
> > + }
>
> Don't we need to call xs_daemon_close() on th
On 28 June 2011 12:34, wrote:
> + path = xs_get_domain_path(xs, domid);
> + if (path == NULL) {
> + fprintf(stderr, "xs_get_domain_path() error\n");
> + return -1;
> + }
Don't we need to call xs_daemon_close() on these error-exit paths?
> + if (!xs_write(xs, XBT_NULL,