+1
−2
Loading
Instead of calling cra_destroy by hand, call it through crypto_alg_put so that the correct unwinding functions are called through crypto_destroy_alg. Fixes: 3d6979bf ("crypto: api - Add cra_type->destroy hook") Signed-off-by:Herbert Xu <herbert@gondor.apana.org.au>