[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
Please register or sign in to comment