Re: [libdbi-users] Memory leak when using dbi_initialize in loop

2011-08-09 Thread Shakthi Kannan
Hi Markus: --- On Tue, Aug 9, 2011 at 4:51 PM, markus.hoeni...@mhoenicka.de wrote: | I've reproduced the leak that you detected in the current cvs | sources. According to my analysis the drivers pass error messages | through dbd_geterror() as allocated | strings. _dbd_internal_error_handler()

Re: [libdbi-users] Memory leak when using dbi_initialize in loop

2011-08-04 Thread Shakthi Kannan
Hi Markus, I came across this memory leak post: http://comments.gmane.org/gmane.comp.db.libdbi.devel/309 Is this fixed in the sources and am I using old version of the software? libdbi-devel-0.8.3-4.fc14.i686 libdbi-0.8.3-4.fc14.i686 libdbi-drivers-0.8.3-6.fc14.i686

Re: [libdbi-users] Memory leak when using dbi_initialize in loop

2011-08-03 Thread Markus Hoenicka
Shakthi Kannan shakthim...@gmail.com was heard to say: int main() { dbi_conn conn; while (1) { dbi_initialize(NULL); [...] dbi_shutdown(); } return 0; } Hi, I'll test your code on my dev box as soon as time permits. libdbi is not supposed to lose memory under any

[libdbi-users] Memory leak when using dbi_initialize in loop

2011-08-02 Thread Shakthi Kannan
Hi, Using libdbi on Fedora 14: libdbi-dbd-sqlite-0.8.3-6.fc14.i686 libdbi-devel-0.8.3-4.fc14.i686 libdbi-0.8.3-4.fc14.i686 libdbi-drivers-0.8.3-6.fc14.i686 libdbi-dbd-mysql-0.8.3-6.fc14.i686 The following code continues to allocate memory, but, doesn't deallocate it. Can you please let me know