diff options
-rw-r--r-- | embed/ephy-web-view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 12e5f5128..4862d837e 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2143,6 +2143,7 @@ load_changed_cb (WebKitWebView *web_view, response = webkit_web_resource_get_response (resource); g_clear_object (&priv->certificate); if (webkit_uri_response_get_https_status (response, &priv->certificate, &priv->tls_errors)) { + g_object_ref (priv->certificate); security_level = priv->tls_errors == 0 ? EPHY_WEB_VIEW_STATE_IS_SECURE_HIGH : EPHY_WEB_VIEW_STATE_IS_BROKEN; } |