https://github.com/torvalds/linux
Revision c715f89c4dab76317c773df2611af2dac4dea2b7 authored by Dan Carpenter on 05 January 2019, 18:18:03 UTC, committed by Steve French on 10 January 2019, 20:32:30 UTC
The most recent "it" allocation is leaked on this error path.  I
believe that small allocations always succeed in current kernels so
this doesn't really affect run time.

Fixes: 54be1f6c1c37 ("cifs: Add DFS cache routines")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 8428817
History
Tip revision: c715f89c4dab76317c773df2611af2dac4dea2b7 authored by Dan Carpenter on 05 January 2019, 18:18:03 UTC
cifs: Fix a tiny potential memory leak
Tip revision: c715f89
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 5.9 KB
mq_sysctl.c -rw-r--r-- 2.9 KB
mqueue.c -rw-r--r-- 39.0 KB
msg.c -rw-r--r-- 29.9 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 4.6 KB
sem.c -rw-r--r-- 61.4 KB
shm.c -rw-r--r-- 42.4 KB
syscall.c -rw-r--r-- 4.7 KB
util.c -rw-r--r-- 22.1 KB
util.h -rw-r--r-- 9.0 KB

back to top