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?
Asked
Active
Viewed 864 times
0
user14189198
- 33
- 3
1 Answers
0
From the documentation of void kfree (const void *objp);
If objp is NULL, no operation is performed.
user14189198
- 33
- 3