Skip to content
Permalink
Browse files
Legendicon 500 error (#5926)
 Fix segfault with legendicon request on certain layer configs (line with truetype symbols).
  • Loading branch information
sdlime committed Nov 21, 2019
1 parent 6c6ec00 commit 0af5737226ca7eca5e48f617d47742fd19bcaa49
Showing 1 changed file with 1 addition and 0 deletions.
@@ -1666,6 +1666,7 @@ int msCGIDispatchLegendIconRequest(mapservObj *mapserv)
status = MS_FAILURE;
goto li_cleanup;
}
img->map = mapserv->map;

/* drop this reference to output format */
msApplyOutputFormat(&format, NULL, MS_NOOVERRIDE, MS_NOOVERRIDE, MS_NOOVERRIDE);

0 comments on commit 0af5737

Please sign in to comment.