cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_global_init_mem and libcurl code

From: Pavel Orehov <pcarlo_at_bezeqint.net>
Date: Mon, 10 Jan 2005 22:02:07 +0200

Okey, now this is clear.

Thanks,
Pavel.

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Monday, January 10, 2005 9:35 PM
Subject: Re: curl_global_init_mem and libcurl code

> On Mon, 10 Jan 2005, Pavel Orehov wrote:
>
> > For example in lib/url.c in function Curl_open, i see two mallocs and
one
> > realloc that activated directlly. May be i am wrong, please explain.
>
> "memory.h" is included in the top of the lib/url.c file. The memory.h
header
> defines malloc() and realloc() and others to use function pointers
instead.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-01-10