On 07/31/14 12:39, Fritjof Bornebusch wrote:
That's why there is no need, to use a condition like: if(ptr == NULL) errx(1, "xfree: NULL pointer given as argument");
Yes, there is. There is a big difference between free(NULL) and xfree(NULL).
On 07/31/14 12:39, Fritjof Bornebusch wrote:
That's why there is no need, to use a condition like: if(ptr == NULL) errx(1, "xfree: NULL pointer given as argument");
Yes, there is. There is a big difference between free(NULL) and xfree(NULL).