]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix memory leak in DoFHandler 5235/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 12 Oct 2017 21:02:55 +0000 (23:02 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 12 Oct 2017 21:12:25 +0000 (23:12 +0200)
source/dofs/dof_handler.cc

index b375cd034899fa736caa676e125769414f3c3e17..159fbb1a5ff5a90e42c5d1199188bc3621d88bc4 100644 (file)
@@ -1083,7 +1083,7 @@ template <int dim, int spacedim>
 void DoFHandler<dim,spacedim>::clear ()
 {
   // release lock to old fe
-  fe_collection.release();
+  fe_collection.reset();
 
   // release memory
   clear_space ();

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.