Memory access violation
Hi I have just now got a huge source code in terms no of files and no of code lines. I am getting an access violation error on pointer... Assume a pointer is of type myclass* p; So it is checked for null before using like below If(p) { p->dosomething(); } I could see during debug that pointer is corrupted but don't know where.. I feel that somewhere it got freed but not set to nullptr.. I tried to search for p getting deleted or assigned to some pointer but could not find any such statement in code base Can someone guide what to do now as issue is known but what is root cause is not figurable. Feel free to ask for queries. I will try to answer all of them but I won't be able to share code due to privacy concerns and issues. Thanks in advance...