Update of /cvsroot/playerstage/code/player/server/drivers/planner/wavefront In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18555/server/drivers/planner/wavefront
Modified Files: wavefront.cc Log Message: fix for unintialised pointer Index: wavefront.cc =================================================================== RCS file: /cvsroot/playerstage/code/player/server/drivers/planner/wavefront/wavefront.cc,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** wavefront.cc 11 Dec 2007 01:58:01 -0000 1.63 --- wavefront.cc 2 Jan 2008 22:40:12 -0000 1.64 *************** *** 405,408 **** --- 405,409 ---- this->waypoint_count = 0; + this->waypoints = NULL; this->waypoints_allocated = 0; *************** *** 440,443 **** --- 441,446 ---- if(this->plan) plan_free(this->plan); + free(this->waypoints); + this->waypoints = NULL; ShutdownPosition(); ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit