summaryrefslogtreecommitdiffstats
path: root/ncr-key-wrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-key-wrap.c')
-rw-r--r--ncr-key-wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncr-key-wrap.c b/ncr-key-wrap.c
index 2edcefb..af28309 100644
--- a/ncr-key-wrap.c
+++ b/ncr-key-wrap.c
@@ -222,7 +222,7 @@ size_t size;
if (ret < 0) {
err();
kfree(R);
- return ret;
+ goto cleanup;
}
if (memcmp(A, iv, 4)!= 0) {