diff options
-rw-r--r-- | src/web-view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c index 11d8009..49ffea2 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -702,6 +702,9 @@ mq_web_view_load_uri(MqWebView *web_view, const gchar *uri) return; } + if (web_view->uri) { + g_free(web_view->uri); + } web_view->uri = g_strdup(uri); if (g_str_has_prefix(uri, "about:")) { |