first, sorry for my bad english jeje. I don't speak it.
I'm having a problem when using free() function to free memory, this is what I have :
I'm using codeblocks on Windows 7. I have around 3 years using dinamic memory allocation and this is the first time I get this problem. There are people that say that the problem is gcc compiler
Directions are equal in and out the function, so I don't think I'm trying to free an invalid pointer