From 410cf5ccfd9c8617162ab73411248ddc053fd389 Mon Sep 17 00:00:00 2001 From: ShubhamDesai <42180509+ShubhamDesai@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:05:48 -0500 Subject: [PATCH] r.to.vect: Fix Resource Leak issue in areas_io.c (#4663) Fix Resource Leak issue --- raster/r.to.vect/areas_io.c | 1 + 1 file changed, 1 insertion(+) 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; }