Skip to content

Commit

Permalink
v.net: Fix Resource Leak issue in report.c (#4820)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamDesai authored Dec 9, 2024
1 parent 54baf2a commit e78613a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vector/v.net/report.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit e78613a

Please sign in to comment.