diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:13:20 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-05 00:13:20 -0400 |
commit | bc3041f055c228ec8347580d95cb2b344b503dcb (patch) | |
tree | 58cac3a7082fab3a1a92f1abbf3858e9d1c161a4 /drivers/net/wireless/atmel.c | |
parent | 9b3a0a6f8ca7bdced15647a1ed5e07d86d58062c (diff) |
wireless: single_open() leaks
Cc: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 23a3498f14d4..830bb1d1f957 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c @@ -1502,7 +1502,7 @@ static const struct file_operations atmel_proc_fops = { .open = atmel_proc_open, .read = seq_read, .llseek = seq_lseek, - .release = seq_release, + .release = single_release, }; static const struct net_device_ops atmel_netdev_ops = { |