aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gpg/t-edit.c')
-rw-r--r--tests/gpg/t-edit.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/gpg/t-edit.c b/tests/gpg/t-edit.c
index b78a7fe2..89638327 100644
--- a/tests/gpg/t-edit.c
+++ b/tests/gpg/t-edit.c
@@ -150,13 +150,6 @@ main (int argc, char **argv)
err = gpgme_op_keylist_end (ctx);
fail_if_err (err);
- p = gpgme_key_get_as_xml (key);
- if (p)
- {
- fputs (p, stdout);
- free (p);
- }
-
err = gpgme_op_edit (ctx, key, edit_fnc, out, out);
fail_if_err (err);
@@ -164,7 +157,7 @@ main (int argc, char **argv)
flush_data (out);
gpgme_data_release (out);
- gpgme_key_release (key);
+ gpgme_key_unref (key);
gpgme_release (ctx);
}
while (argc > 1 && !strcmp( argv[1], "--loop"));