Commit c39b9fd7 authored by Al Viro's avatar Al Viro

sh: single_open() leaks

Cc: vger.kernel.org
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 46d4c0ff
...@@ -348,7 +348,7 @@ static const struct file_operations dma_proc_fops = { ...@@ -348,7 +348,7 @@ static const struct file_operations dma_proc_fops = {
.open = dma_proc_open, .open = dma_proc_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
.release = seq_release, .release = single_release,
}; };
int register_dmac(struct dma_info *info) int register_dmac(struct dma_info *info)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment