This is invariably to do with the way I am freeing memory here, can anyone tell me exactly how/why?
This could be anything, but I am hopped up on goof ballz trying to keep the flu away at the moment.. Not thinking straight!
Using MS VC++ V6.0
This is the error (in a popup window)
struct1 = malloc (sizeof(MYSTRUCT2));
struct2 = malloc (sizeof(MYSTRUCT2));
struct1->foo = malloc (sizeof(MYSTRUCT2));
printf("Enter a number: ");
struct1->foo = struct2;
Debug Assertion Failed!