summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index fcaa506..88dfd75 100644
--- a/surf.c
+++ b/surf.c
@@ -789,6 +789,7 @@ setcert(Client *c, const char *uri)
webkit_web_context_allow_tls_certificate_for_host(
webkit_web_view_get_context(c->view), cert, host);
+ g_object_unref(cert);
free(host);
}