Still don't know why the heap gets corrupted, but not deleting the OMXNodeInstance appears to prevent this from happening.

This commit is contained in:
Andreas Huber
2009-10-22 08:42:19 -07:00
parent 7fad4ee736
commit cb64cd2c3f

View File

@@ -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);
}