mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-13 22:00:19 -04:00
Added fclose to avoid core dump (#21957)
This commit is contained in:
committed by
Christopher McCormack
parent
a02030b23e
commit
427b5178f3
@@ -226,6 +226,8 @@ int main() {
|
||||
printf("Greetings are done!\n");
|
||||
}
|
||||
|
||||
fclose(names);
|
||||
fclose(greet);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user