Hi,

Experimenting with curlpp; does this look correct? I feel like I'm missing 
something, the memory seems to climb endlessly:

curlpp::initialize( CURL_GLOBAL_ALL);
curlpp::Easy client;
client.setOpt(new curlpp::options::Url("http://www.google.com";));
std::stringstream html;
client.setOpt(cURLpp::Options::WriteStream(&html));

int iRuns = 0;
while(g_bRunning)
{
// clear buffer
html.clear();

// download
client.perform();

std::cout << "finished run " << iRuns++ << "." << std::endl;
}
curlpp::terminate();

Analysis with instruments shows the memory allocated from 
curl_llist_alloc...

<https://lh3.googleusercontent.com/-t9vPHi59K20/Uz0AkTMM5yI/AAAAAAAAAG4/CprLJ4dxpkU/s3200/ss_ins_leaks.png>
any direction appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"curlpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/curlpp.
For more options, visit https://groups.google.com/d/optout.

Reply via email to