From 55ff2c3e66f11bc19a651853ffbda1cdb1a881ba Mon Sep 17 00:00:00 2001 From: Shubham Vasudeo Desai Date: Wed, 20 Nov 2024 15:14:57 -0500 Subject: [PATCH] Resource Leak --- vector/v.in.ascii/points.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vector/v.in.ascii/points.c b/vector/v.in.ascii/points.c index 0fd1899c2e2..ab1720f78d7 100644 --- a/vector/v.in.ascii/points.c +++ b/vector/v.in.ascii/points.c @@ -494,6 +494,9 @@ int points_to_bin(FILE *ascii, int rowlen, struct Map_info *Map, G_free_tokens(tokens); } G_percent(nrows, nrows, 2); + Vect_destroy_line_struct(Points); + Vect_destroy_cats_struct(Cats); + G_free(buf); return 0; }