crypto: scompress - Fix incorrect stream freeing

Fix stream freeing crash by passing the correct pointer.

Fixes: 3d72ad46a2 ("crypto: acomp - Move stream management into scomp layer")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
pull/1188/head
Herbert Xu 2025-03-16 17:50:22 +08:00
parent ca17aa6640
commit 5a06ef1f8d
1 changed files with 1 additions and 1 deletions

View File

@ -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);