Add missing destructor for array