| || |
Can anyone help? I have a script with a number of pointers to char. During execution, memory is allocated with malloc and at the end the pointers are freed using free. The problem that I have is that when the script is run for more than one iteration, errors occur on the malloc statements on the second iteration. The errors are access violations on memory addresses.
Can anyone suggest how I can get around this?
Re: Memory Allocation
In which action is the memory freed?