1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-24 18:22:25 -05:00

libmml: Fix Free, Realloc.

This commit is contained in:
Merlijn Wajer 2010-09-12 15:06:11 +02:00
parent b37ad040c3
commit 9279280366

View File

@ -99,7 +99,7 @@ begin
if debug then
writeln(last_error);
end else
Free(ptr);
FreeMem(ptr);
end;
function alloc_mem(size, objsize: PtrUInt): Pointer;
@ -109,7 +109,7 @@ end;
function realloc_mem(ptr: Pointer; size, objsize: PtrUInt): Pointer;
begin
result := ReAlloc(ptr, size*objsize);
result := ReAllocMem(ptr, size*objsize);
end;
{ Mouse }