[openrtm-users 01448] Mismatched delete in StateMachine.h
Steffen Wittmeier
steffen.wittmeier @ in.tum.de
2010年 11月 3日 (水) 21:26:37 JST
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
-------------- next part --------------
$B%F%-%9%H7A<00J30$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
$B%U%!%$%kL>(B: StateMachine.h.diff
$B7?(B: text/x-diff
$B%5%$%:(B: 506 $B%P%$%H(B
$B @ bL@(B: $BL5$7(B
URL: <http://www.openrtm.org/pipermail/openrtm-users/attachments/20101103/82306bc0/attachment-0001.diff>
openrtm-users メーリングリストの案内