I am getting some memry leaks in one function. In that function i am allocating memroy for string using calloc and populating that memory with string and using that string om other part of program. Sinc it is showing memory leak, i am trying to release that memory with free function. While i am trying to free the memory, it is showing FUM(free unallocated memory) error. How can i get rid of this error?
Thanks in advance