On Monday 22 November 2004 22:53, Kjetil Haaland wrote:
> No and yes, in the first function i wanted it to last, but in the next i
> want it to go away, so my question is how do i free the memory, so that
> next time i call the function in the same session the pointer that points
> to the char value, points to a null value or nothing?
Hi again
Does anyone now how i do this? I have tried to use pfree(pointer) but i
doesn't seem to do anything. I print out whats in the pointer before i use
pfree and after i use it and it is the same. Am i using the wrong method or
is there any other way to do this?
thanks
-Kjetil