Commit 707d009f7 for imagemagick.org
commit 707d009f7e459f9ac289c1f6c8648f80f9ca5293
Author: Cristy <urban-warrior@imagemagick.org>
Date: Sun Nov 8 19:29:31 2026 -0500
https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-c8x7-2x5c-m4gv
diff --git a/coders/svg.c b/coders/svg.c
index 0b6b04882..2e2c07aa6 100644
--- a/coders/svg.c
+++ b/coders/svg.c
@@ -2745,6 +2745,7 @@ static void SVGEndElement(void *context,const xmlChar *name)
"image Over %g,%g %g,%g \"%s\"\n",svg_info->bounds.x,
svg_info->bounds.y,svg_info->bounds.width,svg_info->bounds.height,
svg_info->url);
+ svg_info->url=DestroyString(svg_info->url);
(void) FormatLocaleFile(svg_info->file,"pop graphic-context\n");
break;
}