diff --git a/ps/ps.map/ps_vlines.c b/ps/ps.map/ps_vlines.c index c5aced7c51b..fb3bc2fa760 100644 --- a/ps/ps.map/ps_vlines.c +++ b/ps/ps.map/ps_vlines.c @@ -206,5 +206,8 @@ int PS_vlines_plot(struct Map_info *P_map, int vec, int type) } fprintf(PS.fp, "\n"); fprintf(PS.fp, "0 setlinejoin\n"); /* reset line join to miter */ + Vect_destroy_line_struct(Points); + Vect_destroy_line_struct(nPoints); + Vect_destroy_cats_struct(Cats); return 0; }