1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-30 21:02:16 -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 if debug then
writeln(last_error); writeln(last_error);
end else end else
Free(ptr); FreeMem(ptr);
end; end;
function alloc_mem(size, objsize: PtrUInt): Pointer; function alloc_mem(size, objsize: PtrUInt): Pointer;
@ -109,7 +109,7 @@ end;
function realloc_mem(ptr: Pointer; size, objsize: PtrUInt): Pointer; function realloc_mem(ptr: Pointer; size, objsize: PtrUInt): Pointer;
begin begin
result := ReAlloc(ptr, size*objsize); result := ReAllocMem(ptr, size*objsize);
end; end;
{ Mouse } { Mouse }