summaryrefslogtreecommitdiff
path: root/logview/src
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src')
-rw-r--r--logview/src/logview-utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/logview/src/logview-utils.c b/logview/src/logview-utils.c
index 63c3e47a..a2de5fdb 100644
--- a/logview/src/logview-utils.c
+++ b/logview/src/logview-utils.c
@@ -270,9 +270,7 @@ log_read_dates (const char **buffer_lines, time_t current)
}
}
- if (date_string) {
- g_free (date_string);
- }
+ g_free (date_string);
/* sort the days in chronological order */
days = g_slist_sort (days, days_compare);