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