diff options
-rw-r--r-- | crypto/cryptd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/cryptd.c b/crypto/cryptd.c index b3bb99390ae7..c8434042cbc1 100644 --- a/crypto/cryptd.c +++ b/crypto/cryptd.c | |||
@@ -393,6 +393,7 @@ static void cryptd_skcipher_free(struct skcipher_instance *inst) | |||
393 | struct skcipherd_instance_ctx *ctx = skcipher_instance_ctx(inst); | 393 | struct skcipherd_instance_ctx *ctx = skcipher_instance_ctx(inst); |
394 | 394 | ||
395 | crypto_drop_skcipher(&ctx->spawn); | 395 | crypto_drop_skcipher(&ctx->spawn); |
396 | kfree(inst); | ||
396 | } | 397 | } |
397 | 398 | ||
398 | static int cryptd_create_skcipher(struct crypto_template *tmpl, | 399 | static int cryptd_create_skcipher(struct crypto_template *tmpl, |