N
Nafai
Hello. I have a big problem. I need your help!
I have a class whose only variable is a vector<char>.
I get messages like this:
*** glibc detected *** free(): invalid pointer: 0x089a6118 ***
Aborted.
I have looked up the error and it happens inside std::vector destructor.
My destructor is just ~MyClass() {};
What is happening?
I have a class whose only variable is a vector<char>.
I get messages like this:
*** glibc detected *** free(): invalid pointer: 0x089a6118 ***
Aborted.
I have looked up the error and it happens inside std::vector destructor.
My destructor is just ~MyClass() {};
What is happening?