Removed excess space
Correctly use delete[] for vector de-allocation