summaryrefslogtreecommitdiff
path: root/logview/src/logview-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src/logview-utils.c')
-rw-r--r--logview/src/logview-utils.c24
1 files changed, 11 insertions, 13 deletions
diff --git a/logview/src/logview-utils.c b/logview/src/logview-utils.c
index 3c2629e9..a2de5fdb 100644
--- a/logview/src/logview-utils.c
+++ b/logview/src/logview-utils.c
@@ -1,22 +1,22 @@
/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
-/* logview-utils.c - misc logview utilities
- *
- * Copyright (C) 1998 Cesar Miquel <[email protected]>
+/* Copyright (C) 1998 Cesar Miquel <[email protected]>
* Copyright (C) 2008 Cosimo Cecchi <[email protected]>
+ * Copyright (C) 2012-2021 MATE Developers
+ *
+ * This file is part of MATE Utils.
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
+ * MATE Utils is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
+ * MATE Utils is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 551 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * along with MATE Utils. If not, see <https://www.gnu.org/licenses/>.
*/
#ifdef HAVE_CONFIG_H
@@ -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);