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

Commit 36950f75 authored by Lajos Molnar's avatar Lajos Molnar Committed by android-build-merger
Browse files

Merge "OMXNodeInstance: use a lock in freeNode" into lmp-mr1-dev am: 60719598 am: cdf0a102

am: 57ac7618

Change-Id: I2d7f4d1e53b20695ddaaf95b452abbe19f253d88
parents 05832e92 57ac7618
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -374,6 +374,8 @@ status_t OMXNodeInstance::freeNode(OMXMaster *master) {
            break;
            break;
    }
    }


    Mutex::Autolock _l(mLock);

    ALOGV("[%x:%s] calling destroyComponentInstance", mNodeID, mName);
    ALOGV("[%x:%s] calling destroyComponentInstance", mNodeID, mName);
    OMX_ERRORTYPE err = master->destroyComponentInstance(
    OMX_ERRORTYPE err = master->destroyComponentInstance(
            static_cast<OMX_COMPONENTTYPE *>(mHandle));
            static_cast<OMX_COMPONENTTYPE *>(mHandle));