On Mon, Jul 21, 2014 at 04:11:41PM +0200, Tamás Kása wrote:
> The curious thing is that the test.cpp doesn't leak memory when
> compiled on a virtual system, which is exactly the same as the other
> mentioned above, except it is a 32 bit CentOS system, not 64 bit.
This is likely the biggest clue to the problem. I'm not sure
where the problem is, but you might check all supporting libraries,
making sure there are no 32/64 bit mismatches. Is the C mysql lib
I suspect you're debugging a toolchain issue, not a code issue.