Add missing deallocations in OpenCL DMG & RAR formats' valid().