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