06-29-2009 05:20 AM
Hello,
I'm using LabWindows/CVI 9.0.1 and TestStand 4.1.1.
When I'm debugging my CVI DLL with the resource tracking tool, I can see that the TS_ExprCtrl_Create function creates 3 object handles.
When the panel is discarded, 2 handles are automatically discarded.
But there is still 1 handle that is never discarded.
Is it a memory leak or am I missing something ? Should I use a function to release the last handle ?
bruno
Solved! Go to Solution.
06-30-2009 12:24 AM
It's a memory leak in TS_ExprCtrl_Create. What's happening is TS_ExprCtrl_Create is calling TS_ExprCtrl_CreateActiveXControl which calls TSUI_ExpressionEditGetBorders to get an object handle to the Borders interface. But CA_DiscardObjHandle is not being called on the borders object handle.
I've created a bug report (ID 177213) to fix this.
07-01-2009 12:05 PM