List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:July 21 2014 8:14pm
Subject:Re: Possible memory leak on 64bit CentOS
View as plain text  
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
64bit too?

I suspect you're debugging a toolchain issue, not a code issue.

- Chris

Thread
Possible memory leak on 64bit CentOSTamás Kása21 Jul 2014
  • Re: Possible memory leak on 64bit CentOSWarren Young21 Jul 2014
  • Re: Possible memory leak on 64bit CentOSChris Frey21 Jul 2014
    • Re: Possible memory leak on 64bit CentOSTamás Kása22 Jul 2014
      • Re: Possible memory leak on 64bit CentOSTamás Kása28 Jul 2014
        • Re: Possible memory leak on 64bit CentOSWarren Young28 Jul 2014