commit | a3c3c39585da47f90946537e0482eb4702a16ee4 | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Thu Aug 06 11:41:57 2020 -0400 |
committer | Cristy <[email protected]> | Thu Aug 06 11:41:57 2020 -0400 |
tree | 7fd8a99a7cc7549cb3f3bbd21c6f8d6abd6a8c6d | |
parent | 2dec41b9e0a58098edbb8d341ebef1d8c84cfa63 [diff] [blame] |
https://github.com/ImageMagick/ImageMagick/issues/2382
diff --git a/coders/svg.c b/coders/svg.c index 350d49f..77e3e86 100644 --- a/coders/svg.c +++ b/coders/svg.c
@@ -374,6 +374,8 @@ static SVGInfo *DestroySVGInfo(SVGInfo *svg_info) { + if (svg_info->size != (char *) NULL) + svg_info->size=DestroyString(svg_info->size); if (svg_info->text != (char *) NULL) svg_info->text=DestroyString(svg_info->text); if (svg_info->scale != (double *) NULL)