about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/log.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/log.c b/src/log.c
index f6ce7b5b..14d801a9 100644
--- a/src/log.c
+++ b/src/log.c
@@ -308,8 +308,6 @@ GSList *
 chat_log_get_previous(const gchar * const login, const gchar * const recipient,
     GSList *history)
 {
-    GTimeZone *tz = g_time_zone_new_local();
-
     GDateTime *now = g_date_time_new_now_local();
     GDateTime *log_date = g_date_time_new(tz,
         g_date_time_get_year(session_started),
@@ -348,8 +346,6 @@ chat_log_get_previous(const gchar * const login, const gchar * const recipient,
         log_date = g_date_time_ref(next);
     }
 
-    g_time_zone_unref(tz);
-
     return history;
 }