Skip to content

libnvme: make free functions null-pointer safe#3284

Merged
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:refactor-free
Apr 17, 2026
Merged

libnvme: make free functions null-pointer safe#3284
igaw merged 2 commits intolinux-nvme:masterfrom
igaw:refactor-free

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Apr 17, 2026

Currently, some free functions check for null pointers, while others do not. Update all free functions to be null-pointer safe.

igaw added 2 commits April 17, 2026 07:59
Currently, some free functions check for null pointers, while others do
not. Update all free functions to be null-pointer safe.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
free can handle null pointers.

Signed-off-by: Daniel Wagner <wagi@kernel.org>
@igaw igaw merged commit cec095e into linux-nvme:master Apr 17, 2026
29 checks passed
@igaw igaw deleted the refactor-free branch April 17, 2026 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant