Removed cuda free, due to double alloc error