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

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

Merge "OMXNodeInstance: use a lock around OMX::freeNode" into oc-dev

am: 1e79b0c1

Change-Id: I2ce31c4b8db21cf20975f9855215b48e3779915e
parents a5d92415 1e79b0c1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -488,6 +488,9 @@ status_t OMXNodeInstance::freeNode() {
            LOG_ALWAYS_FATAL("unknown state %s(%#x).", asString(state), state);
            break;
    }

    Mutex::Autolock _l(mLock);

    status_t err = mOwner->freeNode(this);

    mDispatcher.clear();