Skip to content

Commit

Permalink
changes lib
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Bansal <[email protected]>
  • Loading branch information
NishantBansal2003 committed Nov 11, 2024
1 parent 5da729a commit 5bda40e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/raster/json_color_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*/
static void close_file(FILE *fp)
{
fflush(fp);
if (fp != stdout)
fclose(fp);
}
Expand Down

0 comments on commit 5bda40e

Please sign in to comment.