Commit 981dcf74 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dash: BasicCMParser: Avoid potential crash when inheriting mimeType

parent 54bbf8cf
......@@ -567,6 +567,7 @@ bool BasicCMParser::parseCommonAttributesElements( Node *node, CommonAttribut
return false;
}
}
else
common->setMimeType( it->second );
//Everything else is optionnal.
it = attr.find( "width" );
......
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