Skip to content

Commit

Permalink
r.to.vect: Fix Resource Leak issue in areas_io.c (#4663)
Browse files Browse the repository at this point in the history
Fix Resource Leak issue
  • Loading branch information
ShubhamDesai authored Nov 7, 2024
1 parent 69b20cf commit 410cf5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions raster/r.to.vect/areas_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ int write_area(

if (equivs)
G_free(equivs);
Vect_destroy_line_struct(points);

return 0;
}

0 comments on commit 410cf5c

Please sign in to comment.