Relative Content

Tag Archive for c++pointersmemory-leaksstdvector

standard library vector memory leak

I’ve encountered a problem which is i can’t correctly deallocate memory. I have a vector of type int* and
after allocating memory and adding these pointers to my vector, i just want to deallocate the memory and end the program.