Listing 3. Tracing with mtrace() #include #include #include int main() { char *ptr; mtrace(); ptr = malloc(10); /* free(ptr); */ }