curlpp::Cleanup::Cleanup()
{
curlpp::initialize();
}
curlpp::Cleanup::~Cleanup()
{}
~Cleanup doesn't call terminate, hence leading to memory leaks.
::curlpp::Cleanup is heavily used in examples which come with the library
making impression it's ok to use it.
Either add terminate to destructor or remove Cleanup from examples.
Version 0.7.3
Original issue reported on code.google.com by fukanchik on 24 Oct 2013 at 10:53
Original issue reported on code.google.com by
fukanchik
on 24 Oct 2013 at 10:53