]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cifsd: use kfree to free memory allocated by kmalloc or kzalloc
authorMuhammad Usama Anjum <musamaanjum@gmail.com>
Fri, 2 Apr 2021 00:25:35 +0000 (09:25 +0900)
committerSteve French <stfrench@microsoft.com>
Mon, 19 Apr 2021 00:20:51 +0000 (19:20 -0500)
commitb446e5053d74cd2746af22549940e7770e188d50
tree411e13e03110d35d307e814da64ecb4dad9a6c4b
parent45ac1be7c8b5d83643944edc945f108b14368582
cifsd: use kfree to free memory allocated by kmalloc or kzalloc

kfree should be used to free memory allocated by kmalloc or kzalloc to
avoid any overhead and for maintaining consistency.

Signed-off-by: Muhammad Usama Anjum <musamaanjum@gmail.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/buffer_pool.c
fs/cifsd/mgmt/share_config.c
fs/cifsd/mgmt/user_config.c
fs/cifsd/mgmt/user_session.c
fs/cifsd/smb2pdu.c
fs/cifsd/transport_tcp.c
fs/cifsd/vfs_cache.c