Skip to content

Commit

Permalink
v.colors: Fix Resource Leak issue in read_rgb.c (OSGeo#4497)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamDesai authored Oct 12, 2024
1 parent 71066f4 commit 542f3b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vector/v.colors/read_rgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ void rgb2colr(struct Map_info *Map, int layer, const char *rgb_column,
G_warning(_("%d invalid RGB color values skipped"), nskipped);

db_close_database_shutdown_driver(driver);
Vect_destroy_field_info(fi);
}

0 comments on commit 542f3b4

Please sign in to comment.