On Mon, Aug 22, 2016 at 5:11 AM, Jamal Hadi Salim <j...@mojatatu.com> wrote: > > > Answered my own question by looking at implementation of kfree(); > ignores NULL (unlike free())
Seriously? Here is what C standard says about free(): The free function causes the space pointed to by ptr to be deallocated, that is, made available for further allocation. If ptr is a null pointer, no action occurs.