free NAME free - free memory allocated by calloc(), malloc(), or strdup(). SYNOPSIS void free(ptr); void *ptr; FUNCTION free memory allocated by calloc(), malloc(), or strdup(). IT IS ILLEGAL TO FREE(NULL). If free() is given an illegal pointer or NULL it will freeze the process by calling Wait(0L). EXAMPLE see calloc() example INPUTS void *ptr; pointer to memory to free RESULTS none SEE ALSO malloc, calloc, strdup