Cleanup of vector of pointers