title: Memory allocation error OpenCV cvReleaseMat
body: <pre><code>CvMat* traindata=cvCreateMat(1000,36,CV_32FC1);
  </code></pre>
  
  <p>When I try to release this matrix using <code>cvReleaseMat(&amp;trainData)</code></p>
  
  <p>I find memory in the task manager  not decreased...instead this release command doesn't have any effect on memory of this application in task manager.</p>
  
  <p>what my doubt is...does <code>cvReleaseMat</code>  frees the memory in the CPU also? Or does it just makes that matrix invisble in the future?</p>