* fixed finalization of open array out parameters after r31328

git-svn-id: trunk@31623 -
This commit is contained in:
Jonas Maebe 2015-09-12 23:31:53 +00:00
parent 2205549316
commit 6be050b729

View File

@ -622,7 +622,7 @@ implementation
if (parasym.varspez=vs_out) and
is_managed_type(orgparadef) and
(not is_open_array(resultdef) or
is_managed_type(orgparadef)) and
is_managed_type(tarraydef(resultdef).elementdef)) and
not(target_info.system in systems_garbage_collected_managed_types) then
begin
paraaddrtype:=cpointerdef.getreusable(orgparadef);