LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Labwindows Ini files how do I free the memory created by Ini_GetStringCopy command?

I am using Labwindows\CVI ver 6.0 I am using the Labwindows Ini files instrument. How do I free the memory created by Ini_GetStringCopy command? I think the free() command is not correct because it frees memory allocated by only a few commands not including Ini_GetStringCopy .
0 Kudos
Message 1 of 2
(2,927 Views)
As you see in the help for the 'Copy of String' parameter in GetStringCopy function:
"You are responsible for freeing the string by calling the free() function."

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,927 Views)