Skip to content

Commit 3444f51

Browse files
committed
Bug fix
1 parent 85fcbdd commit 3444f51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mapdraw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,7 @@ int msDrawVectorLayer(mapObj *map, layerObj *layer, imageObj *image)
10211021
for (;;) {
10221022
int rendermode;
10231023
if (classindex == -1) {
1024+
msFreeShape(&shape);
10241025
status = msLayerNextShape(layer, &shape);
10251026
if (status != MS_SUCCESS) {
10261027
break;

0 commit comments

Comments
 (0)