memory access violation error - 0xC0000005
<p>I got memory access violation error sometimes.... </p>

<p>but I don't know where the error comes from...</p>

<p>So I reviewed the code and I found some strange code...</p>

<pre><code>delete m_p1;
A *a = new A();
a-&gt;b = *c;
m_p1 = a; --&gt; strange code.
</code></pre>

<p>I think it's a little strange line.... can i use the m_p1 after delete the m_p1?</p>

<p>It can make some memory access error??</p>
