Unverified Commit 35f5c8d7 authored by Slava Zakharin's avatar Slava Zakharin Committed by GitHub
Browse files

[flang][hlfir] Fixed missing deallocation for components of function … (#67768)

…result.

If function result have allocatable components or components that may
require finalization, we have to call Destroy runtime for them. We also
have to free the top-level entity's memory regardless of whether we
called Destroy or not.
parent 81ea91a9
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment