[openrtm-users 01448] Mismatched delete in StateMachine.h

2 個の投稿 / 0 new
最終投稿
root
オフライン
Last seen: 22時間 45分 前
登録日: 2009-06-23 14:31
[openrtm-users 01448] Mismatched delete in StateMachine.h

Hi,

I found a mismatched delete in StateMachine.h which was part of a
segfault-problem in our application. Basically, arrays were created on
the heap with "new" and deleted with "delete" instead of "delete []".

I attached the patch.

Cheers
Steffen Wittmeier

未定義
root
オフライン
Last seen: 22時間 45分 前
登録日: 2009-06-23 14:31
[openrtm-users 01450] Mismatched delete in StateMachine.h

Hello Steffen

Thanks a lot!! That's quite C++ beginners mistake. I'm ashamed(^^;

Best regards,
Noriaki Ando

2010/11/3 Steffen Wittmeier :
> Hi,
>
> I found a mismatched delete in StateMachine.h which was part of a
> segfault-problem in our application. Basically, arrays were created on the
> heap with "new" and deleted with "delete" instead of "delete []".
>
> I attached the patch.
>
>
> Cheers
> Steffen Wittmeier
>

Log in or register to post comments

ダウンロード

最新バージョン : 2.1.0-RELESE

統計

Webサイト統計
ユーザ数:3399
プロジェクト統計
RTコンポーネント309
RTミドルウエア35
ツール25
文書・仕様書2

OpenRTM@Github

OpenRTM-aist GitHubサイト

ROS

Robot Operating System

Choreonoid

モーションエディタ/シミュレータ

DAQ-Middleware

ネットワーク分散環境でデータ収集用ソフトウェアを容易に構築するためのソフトウェア・フレームワーク

産総研が提供するRTC集

東京オープンソースロボティクス協会