Twas brillig at 12:02:58 28.12.2009 UTC+02 when [email protected] did 
gyre and gimble:

 OM> + if (newpoints)
 OM> +     xfree (newpoints);

Which is equivalent to

if (newpoints)
  if (newpoints)
    free(newpoints);

And free(3) already handles NULL pointer safely: "If ptr is NULL, no
operation is performed."

-- 
  http://fossarchy.blogspot.com/

Attachment: pgpjqReDKeq2t.pgp
Description: PGP signature

_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to