This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Fixed memory leak in Assign().
ClosedPublic

Authored by vzakhari on May 14 2023, 9:23 PM.

Details

Summary

The temporary descriptor must be either Pointer or Allocatable,
otherwise its memory will not be freed.

Diff Detail

Event Timeline

vzakhari created this revision.May 14 2023, 9:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 14 2023, 9:23 PM
vzakhari requested review of this revision.May 14 2023, 9:23 PM
klausler accepted this revision.May 15 2023, 8:06 AM
This revision is now accepted and ready to land.May 15 2023, 8:06 AM
This revision was automatically updated to reflect the committed changes.