commit | d0e0eba043c78b1d6ce3d29367abb41446d83747 | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Wed Oct 21 14:04:46 2015 +0100 |
committer | David Howells <dhowells@redhat.com> | Wed Oct 21 15:18:35 2015 +0100 |
tree | 1c86a75564f33450917f0ea9468bc1dd47ef994f | |
parent | 09302fd19efbff9569eaad3f78ead8f411defd87 [diff] |
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: Geliang Tang <geliangtang@163.com> Signed-off-by: David Howells <dhowells@redhat.com>