summaryrefslogtreecommitdiff
path: root/trust
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-08 17:20:57 +0200
committerStef Walter <stef@thewalter.net>2014-08-08 18:44:20 +0200
commiteb9d1fcc8e0adc38ff494af619db37013ff17cb9 (patch)
tree538374eaf58d77f8e3995f16a4721340f022af87 /trust
parent4750c617829b666dd1acb2a12ca61419fa12bc26 (diff)
trust: Fix leak in token loading error path
Diffstat (limited to 'trust')
-rw-r--r--trust/token.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/trust/token.c b/trust/token.c
index 1ed26eb..47b80d8 100644
--- a/trust/token.c
+++ b/trust/token.c
@@ -684,6 +684,7 @@ on_index_store (void *data,
if (file == NULL) {
free (origin);
+ free (other);
return CKR_GENERAL_ERROR;
}