Hi, I am newbie in C++. In a C++ Program, i am getting error message as "Double freeing of freed memory may be in class 'WSO'. copy constructor and operator= is not defined." I haven't defined any copy-constructor and operator overloading in Class 'WSO' (since i haven't use any assignment or copying object sort of things). Private member function of Class CNN uses a object pointer of another class 'NSA'. I used copy-constructor for this calss 'NSA'.
So my question is what could be the possibility of double freeing the memory.
destructor of Class 'WSO' just deletes pointer member of class 'NSA'.