Permalink
Browse files

Fix potential memory corruption caused by freeSVGCache (#5471)

  • Loading branch information...
szekerest committed Aug 14, 2017
1 parent 2c1e5c5 commit 8a5e0f3bcea89ca7045e8673e99f4fa6cf69eef5
Showing with 1 addition and 0 deletions.
  1. +1 −0 mapcairo.c
View
@@ -907,6 +907,7 @@ void freeSVGCache(symbolObj *s) {
free(cache->pixmap_buffer);
}
msFree(s->renderer_cache);
s->renderer_cache = NULL;
#endif
}

0 comments on commit 8a5e0f3

Please sign in to comment.