X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=88dfd75ccac6a46b08c7a94b674a583fa190b92e;hp=fcaa506639d4f2de07212c60d67ab7caafedd898;hb=db7922f173b803d14039f286146c949ded1538cb;hpb=0d1e670ac3e6a5ea02ff1c6a6e64263b425aef9c 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); }