Browse Source

* Patch from Joost van der Sluis:
- deallocate SQLDA

michael 20 years ago
parent
commit
312f5cc30f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fcl/db/sqldb/interbase/ibconnection.pp

+ 1 - 0
fcl/db/sqldb/interbase/ibconnection.pp

@@ -392,6 +392,7 @@ begin
       CheckError('FreeStatement', Status);
     Statement := nil;
     end;
+  reAllocMem((cursor as tibcursor).SQLDA,0);
 end;
 
 procedure TIBConnection.PrepareStatement(cursor: TSQLHandle;ATransaction : TSQLTransaction;buf : string);