fix leak
This commit is contained in:
@@ -109,7 +109,7 @@ void OptionRowType::Load( const RString &sType )
|
||||
if( SHOW_UNDERLINES )
|
||||
m_UnderlineParent.Load( sType, OptionsCursor::underline );
|
||||
m_textTitle.LoadFromFont( THEME->GetPathF(sType,"title") );
|
||||
m_sprBullet = ActorUtil::MakeActor( THEME->GetPathG(sType,"bullet") );
|
||||
m_sprBullet.Load( ActorUtil::MakeActor( THEME->GetPathG(sType,"bullet") ) );
|
||||
if( SHOW_OPTION_ICONS )
|
||||
m_OptionIcon.Load( sType );
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ private:
|
||||
|
||||
BitmapText m_textItemParent;
|
||||
OptionsCursor m_UnderlineParent;
|
||||
Actor *m_sprBullet;
|
||||
AutoActor m_sprBullet;
|
||||
BitmapText m_textTitle;
|
||||
OptionIcon m_OptionIcon;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user