Search found 2 matches

by Tom
07.08.2007, 15:46
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgresql BlobRead Memory Leak
Replies: 4
Views: 2888

Sorry. TZPostgreSQLBlob.ReadBlob is procedure TZPostgreSQLBlob.ReadBlob; var BlobHandle: Integer; Buffer: array[0..1024] of Char; ReadNum: Integer; ReadStream: TMemoryStream; begin if not Updated and (FBlobOid > 0) then begin BlobHandle := FPlainDriver.OpenLargeObject(FHandle, FBlobOid, INV_READ); C...
by Tom
04.08.2007, 10:28
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgresql BlobRead Memory Leak
Replies: 4
Views: 2888

Postgresql BlobRead Memory Leak

I use zeosdbo with Postgresql 7.3. and Delphi. I use CreateBlobStream. Memory Leak happend. exp) BlobStream := CreateBlobStream(TBlobField(Fields[1]), bmRead); BlobStream.Free; -------------- I found problem. -- ZDbcPostgreSqlResultSet.pas within:procedure TZPostgreSQLBlob.ReadBlob; ReadStrem is not...