| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Issues with libCurl and OpenSSL
From: John Barker <jb_at_optimiser.com>
Date: Mon, 04 Aug 2003 11:01:44 +0800
I wrote a simple test program like so:
#include <curl/curl.h>
INT WINAPI
curlCurlContext = curl_easy_init();
return 0;
Compiled it with OpenSSL 0.9.7 and libCurl 7.10.6 and I get memory
/* Lets get nice error messages */
in ssluse.c at line 413. So I poked around and found that
curl_global_cleanup();
before the line 'return 0;' seemed to solve all the memory leaks. This
char * szPostField = "This is a test to locate memory leaks in our
curl_easy_setopt(curlCurlContext, CURLOPT_POSTFIELDS, szPostField);
curl_easy_perform(curlCurlContext);
My server side script got the post data, the program then exits with the
Detected memory leaks!
I may require some further analysis to locate these.
-------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info