diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | libsylph/ssl.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2013-11-28 + * libsylph/ssl.c: ssl_done(): check if fp != NULL. + +2013-11-28 + * src/colorlabel.c: colorlabel_recreate_label(): added missing parentheses. diff --git a/libsylph/ssl.c b/libsylph/ssl.c index c42214e1..92165832 100644 --- a/libsylph/ssl.c +++ b/libsylph/ssl.c @@ -182,7 +182,8 @@ void ssl_done(void) trust_file); X509_free((X509 *)cur->data); } - fclose(fp); + if (fp) + fclose(fp); g_free(trust_file); g_slist_free(trust_list); trust_list = NULL; |