Avoid double free in on_webview_notify_uri #561.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 20 May 2019 21:53:59 +0000 (23:53 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 20 May 2019 21:53:59 +0000 (23:53 +0200)
commit333496479192bd995b5dce0384c080c2915c3b20
tree9c4885996ef495c43f5b4a8ff2266aea8987eed2
parent3c00e1c8c05d91df5b8dea894107a3e28a0382f8
Avoid double free in on_webview_notify_uri #561.

Thank to ValĂ©rian Rousset for pointing this out. Also change the
until_sanitize_uri function to return given uri in case an error occurred
during sanitization process to reduce cases where this function returns
NULL.
src/main.c
src/util.c