0

What happens if we pass a NULL pointer to kernel free? Which used to free memory allocated by kmalloc. Is it the same as passing a NULL pointer to the user-space free which described here?

1 Answers1

0

From the documentation of void kfree (const void *objp);

If objp is NULL, no operation is performed.