From eb9d1fcc8e0adc38ff494af619db37013ff17cb9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 8 Aug 2014 17:20:57 +0200 Subject: trust: Fix leak in token loading error path --- trust/token.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.1