Hi Pea,
Under my Linux OS, I've just checked the manual page for free (by typing "man 3 free"), and here is what it tells :
"free(void* ptr) frees the memory space pointed to by ptr, which must have been returned by a previous call to malloc(), calloc(), or realloc(). Otherwise, or if...