projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0497c2e
)
MGS-1678 [#2269] memleak in GPU driver sysfs interface
author
gan
<Gan Yuchou>
Fri, 25 Mar 2016 13:24:38 +0000
(21:24 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:51:46 +0000
(14:51 -0500)
Add missing .release callback in file_operations of vidmem_operations in order to release the allocated memory.
Date: Mar 18, 2016
Signed-off-by: Yuchou Gan <yuchou.gan@nxp.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
patch
|
blob
|
history
diff --git
a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
index
5a51730
..
fa54275
100644
(file)
--- a/
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
+++ b/
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_debugfs.c
@@
-892,6
+892,7
@@
static const struct file_operations vidmem_operations = {
.read = seq_read,
.write = vidmem_write,
.llseek = seq_lseek,
+ .release = single_release,
} ;
/*******************************************************************************