I am getting segmentation fault in my application, and while testing with sample applications I found that object reference after freeing it not resulting segmentation fault. Below is the test code which I run,
hash_node  *node_obj=new hash_node();
delete node_obj;
node_obj->var1=0;
return 0;
I just overloaded new to use malloc and delete to use free.
Can any one please advise me in this ?
 
     
     
     
    