We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccc89d7 commit 8a6f067Copy full SHA for 8a6f067
mapfile.c
@@ -4322,7 +4322,10 @@ int loadLayer(layerObj *layer, mapObj *map)
4322
return(-1);
4323
}
4324
4325
- if(loadJoin(&(layer->joins[layer->numjoins])) == -1) return(-1);
+ if(loadJoin(&(layer->joins[layer->numjoins])) == -1) {
4326
+ freeJoin(&(layer->joins[layer->numjoins]));
4327
+ return(-1);
4328
+ }
4329
layer->numjoins++;
4330
break;
4331
case(LABELCACHE):
0 commit comments