aboutsummaryrefslogtreecommitdiffstats
path: root/smime/gui/certificate-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'smime/gui/certificate-manager.c')
-rw-r--r--smime/gui/certificate-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smime/gui/certificate-manager.c b/smime/gui/certificate-manager.c
index 38645d2cdf..5fdca5fc1c 100644
--- a/smime/gui/certificate-manager.c
+++ b/smime/gui/certificate-manager.c
@@ -321,7 +321,7 @@ report_and_free_error (CertPage *cp,
GTK_MESSAGE_ERROR, "%s: %s", where,
error ? error->message : _("Unknown error"));
- if (error)
+ if (error != NULL)
g_error_free (error);
}