Why am I getting a malloc: double free error with realloc()? * Cinema Guy 04:06 Add Comment Edit Question I've tried to write a string replace function in C, which works on a char * , which has been allocated using malloc() . It... Read More