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

Commit 1f64ffe2 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change Icb64cd2c into eclair-mr2

* changes:
  Still don't know why the heap gets corrupted, but not deleting the OMXNodeInstance appears to prevent this from happening.
parents 470687e2 cb64cd2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -120,7 +120,8 @@ status_t OMXNodeInstance::freeNode() {
    mNodeID = NULL;

    LOGI("OMXNodeInstance going away.");
    delete this;
    mObserver.clear();
    // delete this;  // leads to heap-corruption???

    return StatusFromOMXError(err);
}