diff options
-rw-r--r-- | src/web-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web-view.c b/src/web-view.c index dc0f243..32a8958 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -676,7 +676,7 @@ mq_web_view_load_uri(MqWebView *web_view, const gchar *uri) return; } - web_view->uri = uri; + web_view->uri = g_strdup(uri); if (g_str_has_prefix(uri, "about:")) { rw_uri = g_strconcat("mq-about:", uri + strlen("about:"), NULL); |