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

2011-08-02 Thread Shakthi Kannan
); } dbi_shutdown(); } return 0; } === END === I am trying to do a task after the database connect, give a delay and loop around, but the above flow is leaking memory. Appreciate any inputs in this regard! SK -- Shakthi Kannan http://www.shakthimaan.com

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

2011-08-04 Thread Shakthi Kannan
.fc14.i686 SK -- Shakthi Kannan http://www.shakthimaan.com -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super

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

2011-08-09 Thread Shakthi Kannan
, encoding, UTF-8); if (dbi_conn_connect(conn) 0) { printf (Could not connect\n); } else { dbi_conn_close(conn); } } dbi_shutdown_r(instance); return 0; } === END === Is there anything that I am missing? Appreciate any inputs in this regard, SK -- Shakthi Kannan

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

2011-08-09 Thread Shakthi Kannan
://sourceforge.net/mailarchive/forum.php?forum=libdbi-cvs Thanks for your prompt response. SK -- Shakthi Kannan http://www.shakthimaan.com -- uberSVN's rich system and user administration capabilities and model configuration take