01-31-2013 06:27 AM
Using FileBrowser custom control in CVI 2009SP1. I have found a problem in FileBrowser_GetSelectedFiles () function: in case of errors trapped by errChk and nullChk macros execution jumps to Error: label. The same applies in case no file is selected in the control.
In these cases the list created in the function is not disallocated and the IDE complains about this unallocated resource at program end.
As far as I can see fixing this issue implies:
This problem is not mentioned in any Known Issues list from CVI2009 on.
02-05-2013 02:49 PM
You are absolutely right. I filed bug report 390072 for this issue. It will appear in the Known Issues List shortly. Thanks for pointing this out. Fortunately, we ship the source code, so you can apply this fix yourself in the meantime.