summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-label.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 0ad438b..1bce15d 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -265,6 +265,7 @@ finalize(GObject *object)
if (tab_label->scrolled_title) {
g_free(tab_label->scrolled_title);
+ g_free(tab_label->scrolled_markup);
}
G_OBJECT_CLASS(mq_tab_label_parent_class)->finalize(object);
@@ -419,6 +420,8 @@ mq_tab_label_end_scrolling(MqTabLabel *tab_label)
tab_label->scrolling = FALSE;
g_free(tab_label->scrolled_title);
g_free(tab_label->scrolled_markup);
+ tab_label->scrolled_title = NULL;
+ tab_label->scrolled_markup = NULL;
update_label(tab_label);
}