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

Commit b8c247bd authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Fix memory leakage due to unreleased MuxOMX objects after disconnection"

parents 1ea55cf3 ca88e357
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -335,6 +335,10 @@ status_t OMXClient::connect() {
}

void OMXClient::disconnect() {
    if (mOMX.get() != NULL) {
        mOMX.clear();
        mOMX = NULL;
    }
}

}  // namespace android