Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a memory leak in
freeClass()
exposed by valgrind's memcheck
In `msGrowClassLabels()` memory is assigned to `class->labels[class->numlabels]` but was only freed to `class->numstyles-1` in `freeClass()`. This fix ensures the last label is freed.
- Loading branch information