diff --git a/tests/gpg/t-import.c b/tests/gpg/t-import.c index 1f7fdbc3..ec4bee09 100644 --- a/tests/gpg/t-import.c +++ b/tests/gpg/t-import.c @@ -269,6 +269,8 @@ main (int argc, char *argv[]) exit (1); } + gpgme_key_unref (key); + gpgme_release (ctx); return 0; }