Revision: 7507
http://playerstage.svn.sourceforge.net/playerstage/?rev=7507&view=rev
Author: hsujohnhsu
Date: 2009-03-17 01:17:07 +0000 (Tue, 17 Mar 2009)
Log Message:
-----------
panJoint and tiltJoint were not initialized, so no need to delete.
Modified Paths:
--------------
code/gazebo/branches/ogre-1.4.9/server/controllers/ptz/generic/Generic_PTZ.cc
Modified:
code/gazebo/branches/ogre-1.4.9/server/controllers/ptz/generic/Generic_PTZ.cc
===================================================================
---
code/gazebo/branches/ogre-1.4.9/server/controllers/ptz/generic/Generic_PTZ.cc
2009-03-17 01:15:58 UTC (rev 7506)
+++
code/gazebo/branches/ogre-1.4.9/server/controllers/ptz/generic/Generic_PTZ.cc
2009-03-17 01:17:07 UTC (rev 7507)
@@ -70,10 +70,10 @@
// Destructor
Generic_PTZ::~Generic_PTZ()
{
- if (this->panJoint)
- delete this->panJoint;
- if (this->tiltJoint)
- delete this->tiltJoint;
+ //if (this->panJoint)
+ // delete this->panJoint;
+ //if (this->tiltJoint)
+ // delete this->tiltJoint;
this->panJoint = NULL;
this->tiltJoint = NULL;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit