FIX memory leak when iterating over CArrays/EArrays, #308