diff --git a/raster/r.to.vect/areas_io.c b/raster/r.to.vect/areas_io.c index 86760038d61..6d9cfd10e84 100644 --- a/raster/r.to.vect/areas_io.c +++ b/raster/r.to.vect/areas_io.c @@ -371,6 +371,7 @@ int write_area( if (equivs) G_free(equivs); + Vect_destroy_line_struct(points); return 0; }