aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 06088717f..a0f1ed390 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -1571,9 +1571,11 @@ ephy_tab_title_cb (EphyEmbed *embed, EphyTab *tab)
g_object_freeze_notify (object);
- ephy_tab_set_title (tab, embed, title);
ephy_tab_set_loading_title (tab, title, FALSE);
+ /* this consumes and/or frees |title| ! */
+ ephy_tab_set_title (tab, embed, title);
+
g_object_thaw_notify (object);
}