Skip to content

Commit

Permalink
lib/ogsf: Fix resource leak issue in gsd_img_tif.c (#4626)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamDesai authored Nov 5, 2024
1 parent 0ad65e4 commit 7d87859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ogsf/gsd_img_tif.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ int GS_write_tif(const char *name)
}

G_free((void *)pixbuf);
G_free(buf);
(void)TIFFClose(out);

return (0);
Expand Down

0 comments on commit 7d87859

Please sign in to comment.