aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/datetime-prefs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/datetime-prefs.c b/src/datetime-prefs.c
index b6fd1c9..901c290 100644
--- a/src/datetime-prefs.c
+++ b/src/datetime-prefs.c
@@ -304,6 +304,7 @@ input_time_text (GtkWidget * spinner, gdouble * value, gpointer user_data)
hour = g_date_time_get_hour (now);
minute = g_date_time_get_minute (now);
second = g_date_time_get_second (now);
+ g_date_time_unref (now);
/* Parse this string as if it were in the output format */
gint scanned = 0;