fix memleak

Origin commit data
------------------
Commit: 0f371cc918
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-04-25 (Mon, 25 Apr 2016)
This commit is contained in:
Jacek Jendrzej
2016-04-25 15:41:06 +02:00
parent f5932d9cd8
commit ab87ecabe7
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;
}