sh: single_open() leaks
Cc: vger.kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
46d4c0ff24
commit
c39b9fd728
|
@ -348,7 +348,7 @@ static const struct file_operations dma_proc_fops = {
|
|||
.open = dma_proc_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
.release = seq_release,
|
||||
.release = single_release,
|
||||
};
|
||||
|
||||
int register_dmac(struct dma_info *info)
|
||||
|
|
Loading…
Reference in a new issue