mem access violation
<p>I was wondering how this piece of code gives a memory access violation?</p>

<pre><code>{
   Vector3f *a = new Vector3f [10];
   Vector3f *b = a;
   b[9] = Vector3f (2,3,4);
   delete[] a;
   a = new Vector3f [10];
   b[4] = Vector3f (1,2,3);
   delete[] a;
}
</code></pre>
