Skip to content
Browse files
fix segfault on legends with keyimage (#4808)
  • Loading branch information
tbonfort committed Nov 20, 2013
1 parent 92a1cac commit bdaf0cce11db95c4b9007556142c8c5b4a30424a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
@@ -201,7 +201,6 @@ int msDrawLegendIcon(mapObj *map, layerObj *lp, classObj *theclass,
int symbolNum;
styleObj imgStyle;
symbolObj *symbol=NULL;
for(symbolNum=0; symbolNum<theclass->numstyles; symbolNum++)
symbolNum = msAddImageSymbol(&(map->symbolset), msBuildPath(szPath, map->mappath, theclass->keyimage));
if(symbolNum == -1) {
msSetError(MS_GDERR, "Failed to open legend key image", "msCreateLegendIcon()");
Submodule msautotest updated from 86a881 to e04280

0 comments on commit bdaf0cc

Please sign in to comment.