summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 01:44:04 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 01:44:04 (EDT)
commit21b33162eb397020ad97ef0cc8501edff36b6b01 (patch)
tree3e5f8c1882ca5c591fbdf2d2ed00d431ba02c076 /src
parenta67588f659d4d37331c32fd95f13962e27b0870d (diff)
downloadmarquee-21b33162eb397020ad97ef0cc8501edff36b6b01.zip
marquee-21b33162eb397020ad97ef0cc8501edff36b6b01.tar.gz
marquee-21b33162eb397020ad97ef0cc8501edff36b6b01.tar.bz2
mq_web_view_load_uri(): Save a copy of uri
Diffstat (limited to 'src')
-rw-r--r--src/web-view.c2
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);