Hello!
I noticed that the odbc driver has a serious memory leak, which happens
everytime a resultset is used. (When my program was accessing a interbase
database using the odbc driver, the memory went up like hell).
The conversions array in the file IscResultSet is never deleted.
Just complete in the destructor:
IscResultSet::~IscResultSet()
{
close();
if (metaData)
delete metaData;
// T. Lagally: Dont forget to free this!
if (conversions)
{
reset();
delete[] conversions;
}
}
I didnt change anything in the cvs, because I am totally new to this list
and odbc driver. Maybe anybody from you can do this. Thanks!
I also have a question: I noticed that the odbc-driver is not threadsafe. It
looks like that even the underlying library from interbase is not
threadsafe? Do anybody has any information concerning that?
Greetings
Thomas Lagally
|