Merge tag 'pm-5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux-2.6-microblaze.git] / crypto / zstd.c
index 5a3ff25..1a3309f 100644 (file)
@@ -137,7 +137,7 @@ static void __zstd_exit(void *ctx)
 static void zstd_free_ctx(struct crypto_scomp *tfm, void *ctx)
 {
        __zstd_exit(ctx);
-       kzfree(ctx);
+       kfree_sensitive(ctx);
 }
 
 static void zstd_exit(struct crypto_tfm *tfm)