svg_loader: memory leak after improper stop tag fix #1

Updated printf message
This commit is contained in:
Michal Maciola 2021-07-02 10:38:21 +02:00 committed by Hermet Park
parent b005f97bcd
commit 6a09a8f015

View file

@ -2234,7 +2234,7 @@ static void _svgLoaderParserXmlOpen(SvgLoaderData* loader, const char* content,
} else if (!strcmp(tagName, "stop")) {
if (!loader->latestGradient) {
#ifdef THORVG_LOG_ENABLED
printf("SVG: Gradient stop but no gradient in the scope\n");
printf("SVG: Stop element is used outside of the Gradient element\n");
#endif
return;
}