if( !(fp = fopen(PATH, 'r') ) )
{ perror(fp);
return;
}
static void *strReserve = malloc(MAX_STR_LENGTH); // just to make sure we have that memory available for us to use.
free(i);
actual_string = strdup("ROARRR"); // Yay, had memory available to roar!!
free(actual_string);
strReserve = malloc(MAX_STR_LENGTH);
static void *strReserve = malloc(MAX_STR_LENGTH); // just to make sure we have that memory available for us to use.
@@free(strReserve);
//Was free(i); for some reason.
actual_string = strdup("ROARRR"); // Yay, had memory available to roar!!
free(actual_string);
strReserve = malloc(MAX_STR_LENGTH);
Bugs spawn from the use of fwrite, fread, fopen, ect. It was my understanding there were in stdio.h, which I have included. Any ideas? These pieces of code ran pretty recently. I'm forced to believe this error is because of some kind of change outside the mud, but don't know other than that.