From: Stef Walter Date: Fri, 8 Aug 2014 15:20:57 +0000 (+0200) Subject: trust: Fix leak in token loading error path X-Git-Tag: 0.21.2~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb9d1fcc8e0adc38ff494af619db37013ff17cb9;p=p11-kit trust: Fix leak in token loading error path --- 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; }