Skip to content

Commit

Permalink
v.to.3d: Fix Resource Leak Issue in trans2.c (#4320)
Browse files Browse the repository at this point in the history
* Handling Resource Leak

* Resource Leak
  • Loading branch information
ShubhamDesai committed Sep 16, 2024
1 parent 7c27080 commit fdcd8d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vector/v.to.3d/trans2.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ void trans2d(struct Map_info *In, struct Map_info *Out, int type, double height,
G_debug(3, "%d records selected", cvarr.n_values);

db_close_database_shutdown_driver(driver);
Vect_destroy_field_info(Fi);
}

G_message(_("Transforming features..."));
Expand Down

0 comments on commit fdcd8d8

Please sign in to comment.