[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/libxc/xc_linux_save.c



On Thu, Aug 11, 2005 at 04:15:13PM -0500, Jerone Young wrote:
>      if (pfn_type != NULL)
>          free(pfn_type);
> +
> +    if (pfn_batch != NULL)
> +       free(pfn_batch);
> 
> +    if (to_send != NULL)
> +       free(to_send);
> +
> +    if (to_fix != NULL)
> +       free(to_fix);
> +
> +    if (to_skip != NULL)
> +       free(to_skip);

free checks for null pointer themself.

Bastian

-- 
Extreme feminine beauty is always disturbing.
                -- Spock, "The Cloud Minders", stardate 5818.4

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.