diff options
-rw-r--r-- | src/pgp/gpg.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/pgp/gpg.c b/src/pgp/gpg.c index 535a1d95..724f1e9b 100644 --- a/src/pgp/gpg.c +++ b/src/pgp/gpg.c @@ -86,10 +86,8 @@ p_gpg_close(void) fpskeyfile = NULL; } - if (fpsloc) { - free(fpsloc); - fpsloc = NULL; - } + free(fpsloc); + fpsloc = NULL; } void @@ -180,10 +178,8 @@ p_gpg_on_disconnect(void) fpskeyfile = NULL; } - if (fpsloc) { - free(fpsloc); - fpsloc = NULL; - } + free(fpsloc); + fpsloc = NULL; } gboolean |