Commit 72700e47 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Fix memory leak

The timer object was not properly removed when elpa_destroy() was called
on an ELPA instance, leading to a memory leak
parent ed39cb26
......@@ -2072,6 +2072,7 @@ module elpa_impl
subroutine elpa_destroy(self)
use elpa_generated_fortran_interfaces
class(elpa_impl_t) :: self
call timer_free(self%timer)
call elpa_index_free_c(self%index)
end subroutine
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment