[PATCH] Remove more superfluous if(p) checks around free(p)
Julien Cristau
jcristau at debian.org
Sun Jun 6 03:18:33 PDT 2010
On Sun, Jun 6, 2010 at 15:40:58 +0700, Mikhail Gusarov wrote:
> This patch has been generated by the following Coccinelle semantic patch:
>
> @@
> expression E;
> @@
>
> -if(E) { free(E); }
> +free(E);
>
> Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list