Quoting Dario Binacchi (2022-10-17 09:46:46) > Although no operation is performed by kfree() on a NULL pointer, it's > however suboptimal and semantically wrong doing it. Passing NULL to kfree() is fine. This is trying to optimize an error path as well. No thanks.