cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Curl_dofree function

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Nov 2011 13:00:13 +0100 (CET)

On Tue, 1 Nov 2011, Nazim Oztahtaci wrote:

> I am sorry for spamming. I have found the reason of the problem so maybe it
> might be helpful for people who will face the same problem in future.
>
> I did not set NOBODY option previously in my code so the connection between
> SMTP server and client was ongoing. That's why in the second try, Free
> function could not delete the first message : free(smtpc->domain);
>
> It was working on SSL because after each connection, SSL session was closed
> automatically. Using the NOBODY option solved the problem.

I'm not sure I get it. If you can get a crash with a legitimate libcurl- using
problem then that is a bug. Can you show us the code for an equivalent program
that causes this problem?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-02