fix memleak

This commit is contained in:
Jacek Jendrzej
2016-04-25 15:41:06 +02:00
parent 4904279fd5
commit 0f371cc918
2 changed files with 2 additions and 0 deletions

View File

@@ -1985,6 +1985,7 @@ int CTPSelectHandler::exec(CMenuTarget* parent, const std::string &actionkey)
std::string text = "No transponders found for ";
text += name;
ShowHint(LOCALE_MESSAGEBOX_ERROR, text.c_str(), 450, 2);
delete selector;
return menu_return::RETURN_REPAINT;
}