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

2011-08-03 Thread Shakthi Kannan
Hi Markus: --- On Wed, Aug 3, 2011 at 12:41 PM, Markus Hoenicka wrote: | In any case, I'd suggest to modify your code. dbi_initialize() is | supposed to be run once per process \-- I have changed this. If I try to comment the invocation call to dbi_conn_connect(conn), then I don't see any increa

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

2011-08-03 Thread Markus Hoenicka
Shakthi Kannan 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 circumstanc