Skip to content
Snippets Groups Projects
Commit d0e0eba0 authored by Geliang Tang's avatar Geliang Tang Committed by David Howells
Browse files

KEYS: use kvfree() in add_key


There is no need to make a flag to tell that this memory is allocated by
kmalloc or vmalloc. Just use kvfree to free the memory.

Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 09302fd1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment