TPgDumpProcessor tries to free FQuery again

Discussion of open issues, suggestions and bugs regarding PgDAC (PostgreSQL Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
yozey
Posts: 32
Joined: Sat 17 Jan 2009 14:41

TPgDumpProcessor tries to free FQuery again

Post by yozey » Sat 23 May 2009 22:03

TPgDumpProcessor tries to free FQuery already freed by TDADumpProcessor raising an access violation when leaving an application that used TPgDump.

PgDump Line 147:

Code: Select all

destructor TPgDumpProcessor.Destroy;
begin
  FQuery.Free; <- Will call virtual method of a freed object. Object already freed in parent class.

  inherited;
end;

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 25 May 2009 06:55

This is a known problem. We will fix it in the next PgDAC build.

yozey
Posts: 32
Joined: Sat 17 Jan 2009 14:41

Post by yozey » Tue 26 May 2009 21:06

Plash wrote:This is a known problem. We will fix it in the next PgDAC build.
Ok thanks

Post Reply