Remove redundant deallocation