mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-14 17:03:34 +02:00
fix posible memleak
Origin commit data
------------------
Commit: f36f51f6fb
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-01-15 (Mon, 15 Jan 2018)
This commit is contained in:
@@ -111,6 +111,10 @@ void CTermWindow::showResult()
|
||||
if (!exit) {
|
||||
do {
|
||||
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);
|
||||
if ( msg > CRCInput::RC_MaxRC && msg != CRCInput::RC_ok && msg != CRCInput::RC_home && msg != CRCInput::RC_timeout){
|
||||
CNeutrinoApp::getInstance()->handleMsg( msg, data );
|
||||
}
|
||||
|
||||
} while (msg != CRCInput::RC_ok && msg != CRCInput::RC_home && msg != CRCInput::RC_timeout);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user