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

2011-08-09 Thread Shakthi Kannan
Hi, Replying to my own post: --- On Tue, Aug 9, 2011 at 11:30 AM, Shakthi Kannan wrote: |    else { |      dbi_conn_close(conn); |    } \-- With libdbi-0.8.3, libdbi-drivers-0.8.3 adding a sleep(1) after dbi_conn_close(conn) doesn't cause any leak. SK -- Shakthi Kannan http://www.shakthimaan

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

2011-08-09 Thread markus . hoenicka
Shakthi Kannan writes: > The API has been changed in the latest source. So, I updated the > following code snippet, and I still see the memory leak: Hi Shakthi, I've reproduced the leak that you detected in the current cvs sources. According to my analysis the drivers pass error messages throug

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, 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() created another copy with | str

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

2011-08-09 Thread markus . hoenicka
Shakthi Kannan writes: > Which is the current cvs revision, and which file is it? I am not able > to see any commit logs at: > > http://sourceforge.net/mailarchive/forum.php?forum=libdbi-cvs > Hi, I'm afraid that the cvs log at sourceforge has been broken for a while. I always get back e