]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Release some memory that we forgot to free.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jun 2008 21:57:29 +0000 (21:57 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 2 Jun 2008 21:57:29 +0000 (21:57 +0000)
git-svn-id: https://svn.dealii.org/trunk@16276 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/examples/step-33/step-33.cc

index 620472a8d658014537d4a9820fcf1c51bae6c686..b493abdfbb6af1bdb7c751bc0276c028aaaf4f05 100644 (file)
@@ -38,6 +38,15 @@ inconvenience this causes.
 <h3>General</h3>
 
 <ol>
+  <li>
+  <p>
+  Fixed: The new @ref step_33 "step-33" tutorial program had a place where
+  we didn't release some memory. This is now fixed.
+  <br>
+  (Chih-Che Chueh, WB 2008/06/02)
+  </p>
+  </li>
+
   <li>
   <p>
   Fixed: A missing include file prevented the <code>./configure</code> script
index 1c45280b8393711d40f548e34065010c0c4c402c..eab22fb815a94635f4e6bf738e24a8d8a6abe7ee 100644 (file)
@@ -2481,6 +2481,7 @@ assemble_cell_term (const FEValues<dim>             &fe_v,
       right_hand_side(dof_indices[i]) -= F_i.val();
     }
 
+  delete[] forcing;
   delete[] flux;
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.