List:Connector/C++« Previous MessageNext Message »
From:Vivek Goel Date:October 26 2012 7:18am
Subject:Memory leak in mysql c++ connector in threaded app
View as plain text  
HI,
I am using MySQL c++ connector. But it is leaking 192 bytes for every
connection in multi-threaded app but It works perfectly in non-threaded
app.
What I am doing wrong ? Do I need to call some extra function in threaded
env ?

I am attaching sample source code and valgrind output.

regards
Vivek Goel

Attachment: [text/html]
Thread
Memory leak in mysql c++ connector in threaded appVivek Goel26 Oct