diff --git a/day1/homework/h4.cpp b/day1/homework/h4.cpp index 60c584d..8f79291 100644 --- a/day1/homework/h4.cpp +++ b/day1/homework/h4.cpp @@ -36,5 +36,9 @@ int main() p = p->next; } + free(fn1); + free(fn2); + free(fn3); + free(head); return 0; }