commit | d3ae9c19125c8704b4866381f7a064ca2cbdc006 | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Thu Mar 28 20:22:13 2019 -0400 |
committer | Cristy <[email protected]> | Thu Mar 28 20:22:13 2019 -0400 |
tree | be16ef82356e93cd9b93e99952115aa2d5611df8 | |
parent | 842ec075de3b43a8de8010028dc69b834e2ca60f [diff] [blame] |
https://github.com/ImageMagick/ImageMagick/issues/1533
diff --git a/coders/svg.c b/coders/svg.c index 6cc261d..05f5d22 100644 --- a/coders/svg.c +++ b/coders/svg.c
@@ -2821,6 +2821,9 @@ SVGProcessStyleElement(context,name,value); (void) FormatLocaleFile(svg_info->file,"pop class\n"); } + for (j=0; tokens[j] != (char *) NULL; j++) + tokens[j]=DestroyString(tokens[j]); + tokens=(char **) RelinquishMagickMemory(tokens); break; } if (LocaleCompare((const char *) name,"svg") == 0)