> On 1 Oct 2019, at 11:12, Roger Pau Monne <roger....@citrix.com> wrote: > > + libxl_asyncop_how *ao_how = aohow_val(async); > > caml_enter_blocking_section(); > - ret = libxl_domain_shutdown(CTX, c_domid); > + ret = libxl_domain_shutdown(CTX, c_domid, ao_how); > caml_leave_blocking_section(); > > + free(ao_how); > +
Does this work when aohow_val returns NULL or does this needs to be checked? Otherwise This looks good to me. — C _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel