diff options
author | 2025-03-16 17:50:22 +0800 | |
---|---|---|
committer | 2025-03-21 17:39:06 +0800 | |
commit | 5a06ef1f8da226b2de587e22c17f88b72cede3be (patch) | |
tree | 2a468cb1cb7358fe15369b7599a5acffa8b6b47a /crypto | |
parent | crypto: lib/chacha - remove unused arch-specific init support (diff) | |
download | laptop-kernel-5a06ef1f8da226b2de587e22c17f88b72cede3be.tar.xz laptop-kernel-5a06ef1f8da226b2de587e22c17f88b72cede3be.zip |
crypto: scompress - Fix incorrect stream freeing
Fix stream freeing crash by passing the correct pointer.
Fixes: 3d72ad46a23a ("crypto: acomp - Move stream management into scomp layer")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/scompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/scompress.c b/crypto/scompress.c index 5e0238af5425..d435d4b24469 100644 --- a/crypto/scompress.c +++ b/crypto/scompress.c @@ -117,7 +117,7 @@ static void scomp_free_streams(struct scomp_alg *alg) if (!ps->ctx) break; - alg->free_ctx(ps); + alg->free_ctx(ps->ctx); } free_percpu(stream); |