mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-25 18:12:37 +02:00
* Fixed oracle-cursor leak
git-svn-id: trunk@12287 -
This commit is contained in:
parent
1099eabc87
commit
a41ccd5a70
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user