Skip to content
Permalink
Browse files

Fix memory leak in msINLINELayerNextShape() and null pointer derefere…

…nce in maplexer when rerunning it after msCleanup() (fixes #5558)
  • Loading branch information...
rouault committed Sep 9, 2019
1 parent 336b6fb commit 019a5b405afb810f6927063b31ea9c98681599b4
@@ -2227,6 +2227,7 @@ int msINLINELayerNextShape(layerObj *layer, shapeObj *shape)
shape->values = (char **)msSmallRealloc(shape->values, sizeof(char *)*(layer->numitems));
for (i = shape->numvalues; i < layer->numitems; i++)
shape->values[i] = msStrdup("");
shape->numvalues = layer->numitems;
}

break;

0 comments on commit 019a5b4

Please sign in to comment.
You can’t perform that action at this time.