From 08ce5bf4de4260cfe7c31304de4704fa563754fe Mon Sep 17 00:00:00 2001 From: ShubhamDesai <42180509+ShubhamDesai@users.noreply.github.com> Date: Fri, 22 Nov 2024 22:36:07 -0500 Subject: [PATCH] v.univar: Fix Resource Leak issue in main.c (#4730) --- vector/v.univar/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/v.univar/main.c b/vector/v.univar/main.c index 85217498035..5bfa2b672f8 100644 --- a/vector/v.univar/main.c +++ b/vector/v.univar/main.c @@ -358,6 +358,8 @@ void select_from_geometry(void) G_debug(3, "i=%d j=%d sum = %f val=%f", i, j, sum, val); } } + Vect_destroy_line_struct(jPoints); + Vect_destroy_line_struct(iPoints); } void select_from_database(void)