Revision: 9123 http://sourceforge.net/p/playerstage/svn/9123 Author: jpgr87 Date: 2013-04-13 00:16:00 +0000 (Sat, 13 Apr 2013) Log Message: ----------- Applied patch #665: Delete error in logfile reader
Modified Paths: -------------- code/player/trunk/utils/pmap/logfile.cpp code/player/trunk/utils/pmap/pmap_test.cpp Modified: code/player/trunk/utils/pmap/logfile.cpp =================================================================== --- code/player/trunk/utils/pmap/logfile.cpp 2013-01-31 02:33:03 UTC (rev 9122) +++ code/player/trunk/utils/pmap/logfile.cpp 2013-04-13 00:16:00 UTC (rev 9123) @@ -60,7 +60,7 @@ void logfile_free(logfile_t *self) { fclose(self->file); - delete self->line; + delete [] self->line; delete self; } Modified: code/player/trunk/utils/pmap/pmap_test.cpp =================================================================== --- code/player/trunk/utils/pmap/pmap_test.cpp 2013-01-31 02:33:03 UTC (rev 9122) +++ code/player/trunk/utils/pmap/pmap_test.cpp 2013-04-13 00:16:00 UTC (rev 9123) @@ -925,7 +925,7 @@ // Create omap handle omap = omap_alloc(laser_range_count, laser_range_max, laser_angle_min, laser_angle_step, opt_grid_width, opt_grid_height, opt_grid_scale); - if (!rmap) + if (!omap) return -1; gettimeofday(&tv_a, NULL); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit