small fix: mismatching allocation/deallocation