From: Cong Wang <hidden> Date: 2016-08-22 17:41:11
On Mon, Aug 22, 2016 at 5:11 AM, Jamal Hadi Salim [off-list ref] 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.