From 9314a900ca556b315daddb40e8b9517b55fc43b4 Mon Sep 17 00:00:00 2001 From: cosmosninja Date: Tue, 25 Mar 2008 04:30:10 +0000 Subject: [PATCH] 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 --- src/widget_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget_manager.cpp b/src/widget_manager.cpp index 3a930ceea..6c787658a 100644 --- a/src/widget_manager.cpp +++ b/src/widget_manager.cpp @@ -1346,6 +1346,7 @@ int WidgetManager::handlePointer(const int X, const int Y ) ++position; } + delete select_buffer; if( m_widgets[nearest_id].token == m_selected_wgt_token ) {