Applied Charlie Head's widget manager selection memory leak bugfix.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1671 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
cosmosninja 2008-03-25 04:30:10 +00:00
parent 6b0ecbaff3
commit 9314a900ca

View File

@ -1346,6 +1346,7 @@ int WidgetManager::handlePointer(const int X, const int Y )
++position; ++position;
} }
delete select_buffer;
if( m_widgets[nearest_id].token == m_selected_wgt_token ) if( m_widgets[nearest_id].token == m_selected_wgt_token )
{ {