Skip to content

Commit

Permalink
Merge pull request Reference-LAPACK#953 from ACSimon33/test_memory_leak
Browse files Browse the repository at this point in the history
Fixed memory leak in testing framework
  • Loading branch information
langou committed Nov 29, 2023
2 parents af77ebf + 3d2b9cb commit 3200980
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TESTING/LIN/cchkaa.F
Original file line number Diff line number Diff line change
Expand Up @@ -1232,6 +1232,8 @@ PROGRAM CCHKAA
*
DEALLOCATE (A, STAT = AllocateStatus)
DEALLOCATE (B, STAT = AllocateStatus)
DEALLOCATE (E, STAT = AllocateStatus)
DEALLOCATE (S, STAT = AllocateStatus)
DEALLOCATE (WORK, STAT = AllocateStatus)
DEALLOCATE (RWORK, STAT = AllocateStatus)
*
Expand Down
2 changes: 2 additions & 0 deletions TESTING/LIN/dchkaa.F
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,8 @@ PROGRAM DCHKAA
*
DEALLOCATE (A, STAT = AllocateStatus)
DEALLOCATE (B, STAT = AllocateStatus)
DEALLOCATE (E, STAT = AllocateStatus)
DEALLOCATE (S, STAT = AllocateStatus)
DEALLOCATE (WORK, STAT = AllocateStatus)
DEALLOCATE (RWORK, STAT = AllocateStatus)
*
Expand Down
2 changes: 2 additions & 0 deletions TESTING/LIN/schkaa.F
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,8 @@ PROGRAM SCHKAA
*
DEALLOCATE (A, STAT = AllocateStatus)
DEALLOCATE (B, STAT = AllocateStatus)
DEALLOCATE (E, STAT = AllocateStatus)
DEALLOCATE (S, STAT = AllocateStatus)
DEALLOCATE (WORK, STAT = AllocateStatus)
DEALLOCATE (RWORK, STAT = AllocateStatus)
*
Expand Down
2 changes: 2 additions & 0 deletions TESTING/LIN/zchkaa.F
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,8 @@ PROGRAM ZCHKAA
*
DEALLOCATE (A, STAT = AllocateStatus)
DEALLOCATE (B, STAT = AllocateStatus)
DEALLOCATE (E, STAT = AllocateStatus)
DEALLOCATE (S, STAT = AllocateStatus)
DEALLOCATE (RWORK, STAT = AllocateStatus)
DEALLOCATE (WORK, STAT = AllocateStatus)
*
Expand Down

0 comments on commit 3200980

Please sign in to comment.