From 76e76a71fbdeff32c8c4c49c2d481002c246c65b Mon Sep 17 00:00:00 2001 From: Shubham Vasudeo Desai Date: Sun, 24 Nov 2024 15:56:39 -0500 Subject: [PATCH] Fix Resource Leak --- vector/v.out.dxf/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vector/v.out.dxf/main.c b/vector/v.out.dxf/main.c index d00a15e1378..2e30172dd10 100644 --- a/vector/v.out.dxf/main.c +++ b/vector/v.out.dxf/main.c @@ -195,6 +195,8 @@ int add_plines(struct Map_info *Map, int field, double textsize) } nlines_dxf++; } + Vect_destroy_line_struct(Points); + Vect_destroy_cats_struct(Cats); return nlines_dxf; }