mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/scan.cpp: fix memleak
Origin commit data
------------------
Branch: ni/coolstream
Commit: afe8427b2b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-02 (Mon, 02 Dec 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -452,10 +452,10 @@ int CScanTs::handleMsg(neutrino_msg_t msg, neutrino_msg_data_t data)
|
|||||||
CVolume::getInstance()->setVolume(msg);
|
CVolume::getInstance()->setVolume(msg);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000))
|
|
||||||
delete[] (unsigned char*) data;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
if ((msg >= CRCInput::RC_WithData) && (msg < CRCInput::RC_WithData + 0x10000000))
|
||||||
|
delete[] (unsigned char*) data;
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user