Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto GitFlow - main β†’ develop #2572

Merged
merged 5 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Deprecated

## [2.43.2] - 2024-02-06

### Fixed

- Fixed memory leak affecting regional masking. Temporary ESMF field was created but never destroyed

## [2.43.1] - 2024-01-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ endif ()

project (
MAPL
VERSION 2.43.1
VERSION 2.43.2
LANGUAGES Fortran CXX C) # Note - CXX is required for ESMF

# Set the possible values of build type for cmake-gui
Expand Down
3 changes: 3 additions & 0 deletions gridcomps/ExtData2G/ExtDataMasking.F90
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ subroutine evaluate_region_mask(this,state,var_name,rc)
enddo
end if
deallocate( mask)
call ESMF_FieldDestroy(temp_field, noGarbage=.true., _RC)

_RETURN(_SUCCESS)
end subroutine evaluate_region_mask
Expand Down Expand Up @@ -256,6 +257,7 @@ subroutine evaluate_zone_mask(this,state,var_name,rc)
where(limitS <= lats .and. lats <=limitN) var3d(:,:,i) = rvar3d(:,:,i)
enddo
end if
call ESMF_FieldDestroy(temp_field, noGarbage=.true., _RC)

_RETURN(_SUCCESS)
end subroutine evaluate_zone_mask
Expand Down Expand Up @@ -424,6 +426,7 @@ subroutine evaluate_box_mask(this,state,var_name,rc)
end if
deallocate(temp2d)
end if
call ESMF_FieldDestroy(temp_field, noGarbage=.true., _RC)

_RETURN(_SUCCESS)
end subroutine evaluate_box_mask
Expand Down
Loading