[LCP]Segmentation Faults when calling free()

Chuck Martin nrocinu at myrealbox.com
Thu Feb 20 13:33:02 UTC 2003


Could someone tell me what might cause free() to segfault?  I've
verified that the memory has been previously allocated (using malloc()),
the correct pointer is being passed to free(), and the memory hasn't
already been freed with a previous call to free(), so what else could
it be?

Chuck




More information about the linuxCprogramming mailing list