Skip to content

Commit

Permalink
AD15: memory leak, fix in FVW also
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-platt committed Dec 4, 2023
1 parent 96eb6b6 commit c85a0c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/aerodyn/src/FVW.f90
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ end subroutine RollBackPreviousTimeStep

subroutine CleanUp()
call FVW_DestroyConstrState(z_guess, ErrStat2, ErrMsg2); if(Failed()) return
call FVW_DestroyInput(uInterp, ErrStat2, ErrMsg2); if(Failed()) return
end subroutine

logical function Failed()
Expand Down

0 comments on commit c85a0c8

Please sign in to comment.