This causes 21 leaks of a 24byte object, and one of a 12byte object.
If I comment out fin.readPixels(win.min.y, win.max.y) it doesnt happen,
so it must be the OpenEXR library doing it. I couldnt see anything in
the documentation about something I should be calling to free the
library's internal data structures either.
Of course, its not m_RgbaData leaking because thats huge, and is definitly being deleted.
I've narrowed it down to that line, loading the sample cubemap provided on www.openexr.org
When I have time I might try track it down myself, but it looks pretty complicated at the moment...
Thanks