diff options
Diffstat (limited to 'src/fe-text/mainwindow-activity.c')
-rw-r--r-- | src/fe-text/mainwindow-activity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/mainwindow-activity.c b/src/fe-text/mainwindow-activity.c index 06028d0b..3a084110 100644 --- a/src/fe-text/mainwindow-activity.c +++ b/src/fe-text/mainwindow-activity.c @@ -33,13 +33,13 @@ static void sig_activity(WINDOW_REC *window) return; window->data_level = 0; - window->hilight_color = 0; + g_free_and_null(window->hilight_color); for (tmp = window->items; tmp != NULL; tmp = tmp->next) { WI_ITEM_REC *item = tmp->data; item->data_level = 0; - item->hilight_color = 0; + g_free_and_null(item->hilight_color); } signal_stop(); } |