View Single Post
Contributor
8Feb2010,09:54  
Gene Poole's Avatar
Since you are calling free on a pointer that was NOT allocated by malloc, the behavior is undefined.