Hurst -
I assume that you are seeing this "error" in the debug trace of LabWindows/CVI. This typically occurs for one of two reasons.
1) You are calling the incorrect free function for allocated memory.
2) You call the correct free function, but the pointer gets value is corrupted.
If you are using the standard CVI prototype from TestStand 2.x, and you attempt to reallocate a string in the tTestData or tTestError structures, make sure you use the free and malloc pointers that are stored within the struct.
Do you know when the debug message appears, i.e. a specific line in your code?
Scott Richardson (NI)
Scott Richardson
https://testeract.com