Page 1 of 1

Possible leak in SVGInfo *DestroySVGInfo()?

Posted: 2014-04-04T09:46:19-07:00
by maksqwe
svg.c 282

if (svg_info->text != (char *) NULL)
svg_info->text=DestroyString(svg_info->text);

if (svg_info->scale != (double *) NULL)
svg_info->scale=(double *) (svg_info->scale); // <===

if (svg_info->title != (char *) NULL)
svg_info->title=DestroyString(svg_info->title);

Re: Possible leak in SVGInfo *DestroySVGInfo()?

Posted: 2014-04-04T10:09:27-07:00
by dlemstra
Fixed, thank you for also reporting this. Please let us know if you find more :)