Skip to content

Commit

Permalink
close database driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Oct 2, 2024
1 parent d697364 commit 906eacd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vector/v.colors/scan_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ int scan_attr(struct Map_info *Map, int layer, const char *column_name,
if (nrec < 1) {
G_important_message(_("No data selected"));
Vect_destroy_field_info(fi);
db_close_database(driver);
return 0;
}

Expand Down

0 comments on commit 906eacd

Please sign in to comment.