Conrad T. Pino wrote:

>It IS a valid pointer that "free" will accept gladly provided NO WRITES
>are performed OUTSIDE the allocated range.  The "free" function checks
>  
>

Assuming you mean that this works, I think it will be fine:

    p = realloc (NULL, 0);
    free (p);

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:[EMAIL PROTECTED]>




_______________________________________________
Bug-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-cvs

Reply via email to