I have some simple function that uses vector like this (pseudo code):
void someFunc(void) { std::vector contentVector; // here a
No need, it will get cleared automatically once it is out of scope i.e destructor will destroy the container object.