Hi guys.
I'm attaching the output of realloc-spot-lost-pointer.cocci, showing
some places where realloc is used in a wrong manner. It's hard to fix
this issue in an automated way because there are various scenarios to
take into account (even one in which this usage is not totally wrong
-- if you saved the previous pointer somewhere else). I fixed the
first one and I hope you can fix those in the projects you are dealing
with.
You can find the spatch used in trunk/SCRIPTS/coccinelle/
Lucas De Marchi
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel