scn;
How are you using the "NumericArrayResize" function? You should use it to resize an array or string that was provided from LabVIEW, thus LabVIEW manage the memory. You only need to account for those variables you create for which memory was dynamically allocate within your code. In those cases, you need to manually delete those variables before exiting your routine.
Enrique
www.vartortech.com