Skip to content
Commit ba22a1e2 authored by Quentin Lambert's avatar Quentin Lambert Committed by Herbert Xu
Browse files

crypto: ccp - add missing release in ccp_dmaengine_register



ccp_dmaengine_register used to return with an error code before
releasing all resource. This patch adds a jump to the appropriate label
ensuring that the resources are properly released before returning.

This issue was found with Hector.

Signed-off-by: default avatarQuentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ed4767d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment