* Don't use dispose for memory allocated with getmem.

git-svn-id: trunk@11446 -
This commit is contained in:
yury 2008-07-23 11:38:29 +00:00
parent 2f5d8b0381
commit 453e82e001

View File

@ -982,8 +982,8 @@ implementation
end; end;
asmlists[al_rtti].concat(Tai_symbol_end.create(rttilab)); asmlists[al_rtti].concat(Tai_symbol_end.create(rttilab));
end; end;
dispose(syms); freemem(syms);
dispose(offsets); freemem(offsets);
end; end;
procedure enumdef_rtti_string2ordindex(def:Tenumdef); procedure enumdef_rtti_string2ordindex(def:Tenumdef);
@ -1074,8 +1074,8 @@ implementation
end; end;
asmlists[al_rtti].concat(Tai_symbol_end.create(rttilab)); asmlists[al_rtti].concat(Tai_symbol_end.create(rttilab));
end; end;
dispose(syms); freemem(syms);
dispose(offsets); freemem(offsets);
end; end;
begin begin