From db7922f173b803d14039f286146c949ded1538cb Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Sat, 29 Apr 2017 14:34:02 +0200 Subject: [PATCH] Free temporary certificate in setcert --- surf.c | 1 + 1 file changed, 1 insertion(+) 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); } -- 2.20.1