Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 288566fa authored by Lajos Molnar's avatar Lajos Molnar Committed by Android (Google) Code Review
Browse files

Merge "OMXNodeInstance: use a lock in freeNode" into lmp-dev

parents 1a721bb6 085cc199
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -259,6 +259,8 @@ status_t OMXNodeInstance::freeNode(OMXMaster *master) {
            break;
            break;
    }
    }


    Mutex::Autolock _l(mLock);

    ALOGV("calling destroyComponentInstance");
    ALOGV("calling destroyComponentInstance");
    OMX_ERRORTYPE err = master->destroyComponentInstance(
    OMX_ERRORTYPE err = master->destroyComponentInstance(
            static_cast<OMX_COMPONENTTYPE *>(mHandle));
            static_cast<OMX_COMPONENTTYPE *>(mHandle));