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