[openrtm-users 01450] Re: Mismatched delete in StateMachine.h

Ando Noriaki n-ando @ aist.go.jp
2010年 11月 4日 (木) 23:06:40 JST


Hello Steffen

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

Best regards,
Noriaki Ando



2010/11/3 Steffen Wittmeier <steffen.wittmeier @ in.tum.de>:
> 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
>



-- 
安藤慶昭@独立行政法人産業技術総合研究所 知能システム研究部門
    統合知能研究グループ 主任研究員, 博士(工学)
    〒305-8568 つくば市梅園1-1-1 中央第2
    e-mail: n-ando @ aist.go.jp, web: http://staff.aist.go.jp/n-ando
    OpenRTM-aist: http://www.openrtm.org

Noriaki Ando, Ph.D.
    Senior Research Scientist, RT-Synthesis R.G., ISRI, AIST
    AIST Tsukuba Central 2, Tsukuba, Ibaraki 305-8568 JAPAN
    e-mail: n-ando @ aist.go.jp, web: http://staff.aist.go.jp/n-ando
    OpenRTM-aist: http://www.openrtm.org



openrtm-users メーリングリストの案内