projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.9.7claws5
[claws.git]
/
src
/
sgpgme.c
diff --git
a/src/sgpgme.c
b/src/sgpgme.c
index 1fa2761d9366527e286e0eb84a6ddf7e81012577..4f23097be7f8c4869c3613b815c7771f49e982a6 100644
(file)
--- a/
src/sgpgme.c
+++ b/
src/sgpgme.c
@@
-253,10
+253,10
@@
GpgmeData sgpgme_decrypt(GpgmeData cipher)
}
err = gpgme_op_decrypt(ctx, cipher, plain);
- gpgmegtk_free_passphrase();
gpgme_release(ctx);
if (err != GPGME_No_Error) {
+ gpgmegtk_free_passphrase();
gpgme_data_release(plain);
return NULL;
}