diff --git a/crypto/cryptd.c b/crypto/cryptd.c index addca7bae33f40e9111fc855a5851537373a03f9..e0c8e907b08674427649436fd5f769b7ca66cd11 100644 --- a/crypto/cryptd.c +++ b/crypto/cryptd.c @@ -586,6 +586,7 @@ static void cryptd_skcipher_free(struct skcipher_instance *inst) struct skcipherd_instance_ctx *ctx = skcipher_instance_ctx(inst); crypto_drop_skcipher(&ctx->spawn); + kfree(inst); } static int cryptd_create_skcipher(struct crypto_template *tmpl,