Commit 475aade9 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix a memory leak

parent 59fcbc5f
......@@ -1340,6 +1340,7 @@ QList<KoShape*> SvgParser::parseSingleElement(const KoXmlElement &b)
*/
KoShape *defsShape = parseGroup(b);
defsShape->setVisible(false);
delete defsShape;
}
} else if (b.tagName() == "linearGradient" || b.tagName() == "radialGradient") {
} else if (b.tagName() == "pattern") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment