Skip to content

Commit

Permalink
Fix Resource Leak
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Nov 24, 2024
1 parent 3e22b87 commit 76e76a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vector/v.out.dxf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 76e76a7

Please sign in to comment.