g10: Fix memory leak.
authorJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 10:32:50 +0000 (12:32 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 10:32:50 +0000 (12:32 +0200)
* g10/tofu.c (build_conflict_set): Free 'kb_all'.

Signed-off-by: Justus Winter <justus@g10code.com>
g10/tofu.c

index b78279e..1bd8ce2 100644 (file)
@@ -1999,6 +1999,7 @@ build_conflict_set (tofu_dbs_t dbs, const char *fingerprint, const char *email)
     log_assert (conflict_set);
     log_assert (conflict_set_count >= 1);
   }
+  xfree (kb_all);
 
   if (DBG_TRUST)
     {