Possible leak in SVGInfo *DestroySVGInfo()?
Posted: 2014-04-04T09:46:19-07:00
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);
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);