// leaky.c #include #include int main() { char *aaa = MALLOC(100); if (!aaa) { return 1; } strcpy(aaa, "a safe use of strcpy"); char *bbb = MALLOC(100); if (!bbb) { // free(aaa); return 1; } strcpy(bbb, "not unsafe, but aaa is leaking"); free(bbb); free(aaa); return 0; }