* Fixed oracle-cursor leak

git-svn-id: trunk@12287 -
This commit is contained in:
joost 2008-12-02 12:33:27 +00:00
parent 1099eabc87
commit a41ccd5a70

View File

@ -156,7 +156,7 @@ var tel : word;
begin
with cursor as TOracleCursor do
begin
OCIHandleFree(FOciStmt,OCI_HTYPE_ERROR);
OCIHandleFree(FOciStmt,OCI_HTYPE_STMT);
if Length(FieldBuffers) > 0 then
for tel := 0 to high(FieldBuffers) do freemem(FieldBuffers[tel].buffer);
end;