diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-09-04 14:18:09 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-11 18:18:33 +0200 |
commit | 72463f8295afca1933b027049dec96166f246791 (patch) | |
tree | a52b3a753e280bf307a53cf84685445136c88578 /drivers/soc/amlogic | |
parent | 61a2c2c94422b4d1a07405d1df9408fa3af2b4c6 (diff) | |
download | linux-stable-72463f8295afca1933b027049dec96166f246791.tar.gz linux-stable-72463f8295afca1933b027049dec96166f246791.tar.bz2 linux-stable-72463f8295afca1933b027049dec96166f246791.zip |
crypto: cavium/zip - Add missing single_release()
commit c552ffb5c93d9d65aaf34f5f001c4e7e8484ced1 upstream.
When using single_open() for opening, single_release() should be
used instead of seq_release(), otherwise there is a memory leak.
Fixes: 09ae5d37e093 ("crypto: zip - Add Compression/Decompression statistics")
Cc: <stable@vger.kernel.org>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/soc/amlogic')
0 files changed, 0 insertions, 0 deletions