[Libpqxx-general] Libpqxx-3.0.0 Memory Leaks?
Jeroen Vermeulen
jtv at xs4all.nl
Sat Aug 9 04:11:02 UTC 2008
Matthew Fanto wrote:
> I am seeing memory leaks if the connection to the database fails, due to the
> DB being offline. I'm running my app through "Leaks", similar to Valgrind.
> I've written a wrapper class around Libpqxx. Am I missing something in
> destroying the libpqxx objects?
Nope, it's a memory leak! The other connection strategies do catch it,
but the default one didn't.
Fixed in revision 1366. Thanks for the report.
Jeroen
More information about the Libpqxx-general
mailing list