Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: avoid potential null pointer dereference
if the "result" pointer is null because of a memory allocation failure, do not dereference it and do not free the old pointer. Signed-off-by: Maurizio Lombardi <[email protected]>
- Loading branch information