title: Armadillo: deallocate memory
body: <p>I am working with <em>Armadillo 4.320.2</em> and I would like to know if the library itself does take care of memory allocation and deallocation. Having a look at <a href="https://stackoverflow.com/questions/8315337/armadillo-efficient-matrix-allocation-on-the-heap">this</a> question, an answer determines that <em>Armadillo</em> does indeed allocate the memory for matrices, but it does not mention anything about memory  deallocation.</p>
  
  <p>If <em>Armadillo</em> does not free the memory occupied by matrices, how could I do it manually?</p>