Explorar o código

* use dispose() instead of freemem() for consistency with the allocation of pmessagestaterecord

Sven/Sarah Barth hai 8 meses
pai
achega
7fe7e26659
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/verbose.pas

+ 1 - 1
compiler/verbose.pas

@@ -189,7 +189,7 @@ implementation
         while assigned(pstate) do
           begin
             unaligned(fstate):=pstate^.next;
-            freemem(pstate);
+            dispose(pstate);
             pstate:=unaligned(fstate);
           end;
       end;