Added fclose to avoid core dump (#21957)

This commit is contained in:
Saravanan Elumalai
2018-11-17 16:44:01 -06:00
committed by Christopher McCormack
parent a02030b23e
commit 427b5178f3

View File

@ -226,6 +226,8 @@ int main() {
printf("Greetings are done!\n");
}
fclose(names);
fclose(greet);
return EXIT_SUCCESS;
}
```