#include #include #include "MyMalloc.h" int main() { printf("\n---- Running test6 ----\n"); // allocate three blocks of memory // (the third is just used as a boundary) char * mem1 = malloc(8); char * mem2 = malloc(8); malloc(8); printf("\n---- ALLOCATE ----\n"); print_list(); free(mem2); free(mem1); printf("\n---- FREE AND COALESCE LEFT ----\n"); print_list(); exit(0); }