Free temporary certificate in setcert
This commit is contained in:
1 parent
0d1e670ac3
commit
db7922f173
1 file changed
+1
@@ -789,6 +789,7 @@ setcert(Client *c, const char *uri)
|
|||||||
|
|
||||||
webkit_web_context_allow_tls_certificate_for_host(
|
webkit_web_context_allow_tls_certificate_for_host(
|
||||||
webkit_web_view_get_context(c->view), cert, host);
|
webkit_web_view_get_context(c->view), cert, host);
|
||||||
|
g_object_unref(cert);
|
||||||
|
|
||||||
free(host);
|
free(host);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user