diff --git a/source/ubl-settings-repomanager.c b/source/ubl-settings-repomanager.c index 88de742..9c495b2 100644 --- a/source/ubl-settings-repomanager.c +++ b/source/ubl-settings-repomanager.c @@ -909,6 +909,7 @@ void on_key_generate_accept(GtkWidget *self, key_creation_window* window){ if (gtk_combo_box_get_active(GTK_COMBO_BOX(window->ExpireCombo))==1){ GDateTime *datetime = g_date_time_new_from_unix_local(yon_calendar_get_last_date()); expire = g_date_time_format(datetime,"%Y%m%dT000000"); + g_date_time_unref(datetime); } const char *password = gtk_entry_get_text(GTK_ENTRY(window->PasswordEntry));