Skip to content

Commit

Permalink
Fix Resource Leak issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jan 15, 2025
1 parent ba3d03d commit 70cdd55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vector/v.generalize/network.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,5 +258,7 @@ int graph_generalization(struct Map_info *In, struct Map_info *Out,
Vect_destroy_list(prev[i]);
G_free(prev);
graph_free(&g);
Vect_destroy_line_struct(Points);
Vect_destroy_cats_struct(Cats);
return output;
}

0 comments on commit 70cdd55

Please sign in to comment.