FULLPIPE: Fix invalid read

This commit is contained in:
Eugene Sandulenko 2016-09-07 09:14:41 +02:00
parent 38a0bdb263
commit b4153bef61

View File

@ -397,6 +397,9 @@ void StaticANIObject::startMQIfIdle(int qId, int flag) {
}
bool StaticANIObject::isIdle() {
if (_objtype != kObjTypeStaticANIObject)
return true;
if (_messageQueueId) {
MessageQueue *m = g_fp->_globalMessageQueueList->getMessageQueueById(_messageQueueId);