diff options
author | P. J. McDermott <pj@pehjota.net> | 2018-10-02 01:38:30 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2018-10-02 01:38:30 (EDT) |
commit | cd4d5143b62f51fc1a229d2ea8b589be9eaf2f7f (patch) | |
tree | 29f65dc8c765d84d3ac8ce79247af0f31ed854f4 | |
parent | a029d4d43348e4b30b1a27e000c48935994ce499 (diff) | |
download | marquee-cd4d5143b62f51fc1a229d2ea8b589be9eaf2f7f.zip marquee-cd4d5143b62f51fc1a229d2ea8b589be9eaf2f7f.tar.gz marquee-cd4d5143b62f51fc1a229d2ea8b589be9eaf2f7f.tar.bz2 |
MqTabLabel: Remove unnecessary conditional before g_free()
g_free() already checks for NULL.
-rw-r--r-- | src/tab-label.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tab-label.c b/src/tab-label.c index 1bce15d..7680532 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -263,10 +263,8 @@ finalize(GObject *object) tab_label = MQ_TAB_LABEL(object); - if (tab_label->scrolled_title) { - g_free(tab_label->scrolled_title); - g_free(tab_label->scrolled_markup); - } + g_free(tab_label->scrolled_title); + g_free(tab_label->scrolled_markup); G_OBJECT_CLASS(mq_tab_label_parent_class)->finalize(object); } |