[openrtm-commit:00503] r2248 - tags/RELEASE_1_0_1/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 12月 21日 (水) 10:11:43 JST
Author: n-ando
Date: 2011-12-21 10:11:43 +0900 (Wed, 21 Dec 2011)
New Revision: 2248
Modified:
tags/RELEASE_1_0_1/OpenRTM-aist/src/lib/rtm/StateMachine.h
Log:
Delete array bug in StateMachine
Modified: tags/RELEASE_1_0_1/OpenRTM-aist/src/lib/rtm/StateMachine.h
===================================================================
--- tags/RELEASE_1_0_1/OpenRTM-aist/src/lib/rtm/StateMachine.h 2011-12-20 08:34:11 UTC (rev 2247)
+++ tags/RELEASE_1_0_1/OpenRTM-aist/src/lib/rtm/StateMachine.h 2011-12-21 01:11:43 UTC (rev 2248)
@@ -301,11 +301,11 @@
virtual ~StateMachine()
{
- delete m_entry;
- delete m_predo;
- delete m_do;
- delete m_postdo;
- delete m_exit;
+ delete [] m_entry;
+ delete [] m_predo;
+ delete [] m_do;
+ delete [] m_postdo;
+ delete [] m_exit;
};
openrtm-commit メーリングリストの案内