I installed OnBoard/OnBoardC on POSE (m505 running 4.0), created a skeleton project and built. I got a warning because I did not have OnBoardHeader.h installed so I installed it and built again. I got a memory leak.
0.002: Relocatable chunk leaked at 0x000081B8, size = 8
0.002: Chunk allocated by:
0.002: copyDOCSource
0.002: getSourceText
0.002: buildProject
0.002: projectEventHandler
0.002: PrvSendEventToForm
0.003: FrmDispatchEvent
0.003: eventLoop
0.003: PilotMain
0.003: <Unknown @ 0x0004A46C>
0.003: Chunk contents:
0.003: 00 02 00 02 0B 9C 0B 9C .....ú.ú
Logged In: YES
user_id=583634
Originator: NO
While OnBC is generally good at cleaning up it's memory when things go well, I'm aware of several places where we leak if an error occurs.
(Errors like this, I mean, not compile errors)
Would be good to fix this (and other similar leaks)
Logged In: YES
user_id=574706
Originator: NO
Hope its ok that I made you PoC