httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: Segfaults restarting on Linux with worker MPM
Date Mon, 15 Apr 2002 18:45:56 GMT
On Mon, 15 Apr 2002, David Ford wrote:

> Just a side note, I use a wrapper for free() in my code, it checks to
> ensure the input isn't 0x0, frees the passed pointer, then sets the
> pointer to 0x0.  If the passed pointer is already 0x0, I log where it
> was called from so my logs show I'm doing a double free.  The added

In this case, we have multiple references to the same object, so setting
one pointer to NULL wouldn't stop us from trying to free the other one.
:)

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message