Kaydet (Commit) 004a29b9 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

Fixed a crash: GDIMetafile was deleted twice

üst bac1a3ff
......@@ -371,7 +371,7 @@ void GraphicCacheEntry::GraphicObjectWasSwappedOut( const GraphicObject& /*rObj*
if( mbSwappedAll )
{
delete mpBmpEx, mpBmpEx = NULL;
delete mpMtf, mpMtf = NULL;
mpMtf = NULL; // No need to delete it as it has already been dereferenced
delete mpAnimation, mpAnimation = NULL;
}
}
......
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