From 0ad65e4ebd336ca43e21be8f1b38980552da3836 Mon Sep 17 00:00:00 2001 From: ShubhamDesai <42180509+ShubhamDesai@users.noreply.github.com> Date: Tue, 5 Nov 2024 03:03:07 -0500 Subject: [PATCH] v.delaunay: Fix Resource Leak issues in in_out.c (#4625) --- vector/v.delaunay/in_out.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/v.delaunay/in_out.c b/vector/v.delaunay/in_out.c index 8cc62cd8a0e..51938859847 100644 --- a/vector/v.delaunay/in_out.c +++ b/vector/v.delaunay/in_out.c @@ -178,6 +178,8 @@ void output_triangles(unsigned int n, int mode3d UNUSED, int type, e = NEXT(e, u); } while (!SAME_EDGE(e, e_start)); } + Vect_destroy_line_struct(Points); + Vect_destroy_cats_struct(Cats); } void remove_duplicates(unsigned int *size)