Skip to content

Commit

Permalink
add missing check for #4899
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Apr 1, 2014
1 parent 344e7de commit 75a5408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mapcairo.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,7 @@ int mergeRasterBufferCairo(imageObj *img, rasterBufferObj *rb, double opacity,
void freeSVGCache(symbolObj *s) {
#if defined(USE_SVG_CAIRO) || defined(USE_RSVG)
struct svg_symbol_cache *cache = s->renderer_cache;
if(!cache) return;
assert(cache->svgc);
#ifdef USE_SVG_CAIRO
svg_cairo_destroy(cache->svgc);
Expand Down

0 comments on commit 75a5408

Please sign in to comment.