From 7bdd2b40505e2f7700169c05771dddd218ef473c Mon Sep 17 00:00:00 2001 From: mjr-deltares Date: Sat, 25 Jan 2025 12:31:29 +0100 Subject: [PATCH] - correct memory deallocation - enable debug for win action --- .github/workflows/ci.yml | 2 +- src/Utilities/Performance/Profiler.f90 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c7c8530bb99..6cc071ea539 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,7 +215,7 @@ jobs: debug: true # windows, release mode - os: windows-2022 - debug: false + debug: true defaults: run: shell: bash diff --git a/src/Utilities/Performance/Profiler.f90 b/src/Utilities/Performance/Profiler.f90 index 469c48a0a10..61aae767ec9 100644 --- a/src/Utilities/Performance/Profiler.f90 +++ b/src/Utilities/Performance/Profiler.f90 @@ -387,7 +387,7 @@ subroutine destroy(this) call this%callstack%destroy() - do i = 1, this%nr_sections + do i = 1, MAX_NR_TIMED_SECTIONS call this%all_sections(i)%children%destroy() end do deallocate (this%all_sections)