On Wed, 2015-02-25 at 14:56 +0000, Wei Liu wrote:
>          free(sl[i]);
> +        sl[i] = NULL;

I wonder if a helper which takes a void**p and does "free(*p); *p =
NULL" would be at all useful?

(NB, I intend to apply this patch regardless and am in the process of
doing so)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to