tFree temporary certificate in setcert - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit db7922f173b803d14039f286146c949ded1538cb
(DIR) parent 0d1e670ac3e6a5ea02ff1c6a6e64263b425aef9c
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 29 Apr 2017 14:34:02 +0200
Free temporary certificate in setcert
Diffstat:
M surf.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/surf.c b/surf.c
t@@ -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);
}