summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tab-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index 19f1e2b..76fdd78 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -264,7 +264,7 @@ set_property(GObject *object, guint property_id, const GValue *value,
tab_page->window = g_value_get_pointer(value);
break;
case PROP_URI:
- tab_page->uri = g_value_get_string(value);
+ tab_page->uri = g_strdup(g_value_get_string(value));
break;
case PROP_SOURCE:
tab_page->source = g_value_get_object(value);