Skip to content

Commit

Permalink
Bugfix memory leak in ST6 source terms. Ticket NOAA-EMC#1340
Browse files Browse the repository at this point in the history
Changes
-------
 [x] GCC variable width added to format statement
 [x] Add use statement to subroutine EXCDE
  • Loading branch information
stefanzieger committed Jan 17, 2025
1 parent 631ec0f commit cc5a1a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions model/src/w3src6md.F90
Original file line number Diff line number Diff line change
Expand Up @@ -874,6 +874,7 @@ SUBROUTINE LFACTOR(S, CINV, U10, USTAR, USDIR, SIG, DSII, &
USE W3ODATMD, ONLY: NDST, NDSE, IAPROC, NAPERR
USE W3TIMEMD, ONLY: STME21
USE W3WDATMD, ONLY: TIME
USE W3SERVMD, ONLY: EXTCDE
#ifdef W3_S
USE W3SERVMD, ONLY: STRACE
#endif
Expand Down
4 changes: 2 additions & 2 deletions model/src/w3wda1md.F90
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ SUBROUTINE W3WDA1 ( MDAT, NDAT, DATA0 )
!
! Formats
!
1000 FORMAT (/' *** WAVEWATCH III ERROR IN W3WDA1 :'/ &
' DATA RECORD DIMENSION <4 : ',I)
1000 FORMAT (/' *** WAVEWATCH III ERROR IN W3WDA1 :'/ &
' DATA RECORD DIMENSION <4 : ',I8)
END SUBROUTINE W3WDA1
!/ ------------------------------------------------------------------- /
!>
Expand Down

0 comments on commit cc5a1a4

Please sign in to comment.