Skip to content

Commit

Permalink
ps.map: Fix Resource Leak issue in ps_vpoints.c (#4869)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamDesai authored Dec 31, 2024
1 parent 30c477b commit 7d8deb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ps/ps.map/ps_vpoints.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,5 +269,7 @@ int PS_vpoints_plot(struct Map_info *P_map, int vec)

fprintf(PS.fp, "\n");
Vect_destroy_cats_struct(Cats);
Vect_destroy_line_struct(Points);
G_free(Symb);
return 0;
}

0 comments on commit 7d8deb8

Please sign in to comment.