mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-13 19:44:28 +00:00
svg_loader: memory leak after improper stop tag fix #1
Updated printf message
This commit is contained in:
parent
b005f97bcd
commit
6a09a8f015
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue