Memory leak? or am I doing something wrong?

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

User avatar
fduenas
Zeos Dev Team
Zeos Dev Team
Posts: 132
Joined: 26.08.2005, 08:12
Location: Cancún

Post by fduenas »

Hi i think most of all those memory leack are fixed in 6.5.1. Plz give try to this latest version. It works more stable than 6.1.5. Version 6.1.5 have been abandoned so 6.5.1 i now the production version. even if it is named 'alpha' is quite to become 'beta'. all the bugs in 6.1.5 were fixed in 6.5.1.
Pengwin
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 06.12.2005, 12:10

Post by Pengwin »

fduenas: Does 6.5.1 compile with Delphi 4, or do I need to amend the code for this to work?
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Hi, Pengwin

It doesn't even compile with D5, so...

Greets,
Mark
Image
mmbom
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 13.04.2006, 01:13
Location: RS
Contact:

Post by mmbom »

Guys,
Maybe it helps.

in "ZDbcCache.pas" on:
procedure TZRowAccessor.DisposeBuffer(Buffer: PZRowBuffer);

try to change:

Code: Select all

    FreeMem(Buffer, FRowSize);
to:

Code: Select all

    FreeMem(Buffer);
It worked for me, I'm using Delphi 2006.
Post Reply