[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/7] libxl: make some _dipose functions idempotent and tolerate NULL
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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |