aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgsm/t-keylist.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-27 15:56:18 +0000
committerJustus Winter <[email protected]>2016-06-27 16:14:02 +0000
commit62d10c2a38160ef539a784b96960a6b5e3d8d6b6 (patch)
tree87a157d07966241b0f5c84817749ad111a22fde0 /tests/gpgsm/t-keylist.c
parentCpp: Expose new data_identify values (diff)
downloadgpgme-62d10c2a38160ef539a784b96960a6b5e3d8d6b6.tar.gz
gpgme-62d10c2a38160ef539a784b96960a6b5e3d8d6b6.zip
tests: Fix trivial memory leaks.
-- Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpgsm/t-keylist.c')
-rw-r--r--tests/gpgsm/t-keylist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpgsm/t-keylist.c b/tests/gpgsm/t-keylist.c
index bebd9d6a..5204ab2e 100644
--- a/tests/gpgsm/t-keylist.c
+++ b/tests/gpgsm/t-keylist.c
@@ -110,6 +110,7 @@ main (int argc, char **argv)
{
fprintf (stderr, "Warning: Skipping unknown key %s\n",
key->subkeys->fpr);
+ gpgme_key_unref (key);
continue;
}
else