Browse Source

compiler: fix a memory leak in translate_disp_call

git-svn-id: trunk@14782 -
paul 15 years ago
parent
commit
ca99f902d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/ncal.pas

+ 1 - 0
compiler/ncal.pas

@@ -508,6 +508,7 @@ implementation
             addstatement(statements,ctempdeletenode.create_normal_temp(result_data));
             addstatement(statements,ctemprefnode.create(result_data));
           end;
+        addstatement(statements,ctempdeletenode.create(params));
       end;