From 40c9b3d77d21d4f5685690512592d096da99fad2 Mon Sep 17 00:00:00 2001 From: Shubham Vasudeo Desai Date: Sun, 8 Dec 2024 17:27:16 -0500 Subject: [PATCH] Fix Resource Leak --- vector/v.net/report.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vector/v.net/report.c b/vector/v.net/report.c index 952acd5dfff..bce9baa3c5a 100644 --- a/vector/v.net/report.c +++ b/vector/v.net/report.c @@ -128,6 +128,9 @@ int report(struct Map_info *In, int afield, int nfield, int action) } } } + Vect_destroy_cats_struct(Cats); + Vect_destroy_cats_struct(Cats2); + Vect_destroy_line_struct(Points); return 0; }