cURL / Mailing Lists / curl-library / Single Mail


Re: BUG: free statement in http_negotiate.c giving heap error

From: Dan Fandrich <>
Date: Tue, 26 Mar 2013 20:58:05 +0100

On Tue, Mar 26, 2013 at 01:57:59PM +0530, Arunav Sanyal wrote:
> Ok line number 308 is the malloc call which occurs immediately after the free
> statement that i talked about. This malloc is never reached, since the free
> itself causes a breakpoint after which I cannot step forward

What is the value of the pointer at the time free() is called? And note that
NULL is a perfectly valid value to give to free.

>>> Dan
List admin:
Received on 2013-03-26