!26 Fix double-free when closing the input chooser dialog
From: @shaoxuehua Reviewed-by: @zmr_2020, @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
cde4a73dfa
@ -0,0 +1,25 @@
|
||||
From f7f3ec60d0136e3b68a304fb0e0e049c0d598df0 Mon Sep 17 00:00:00 2001
|
||||
From: shao_xuehua <shao_xuehua@hoperun.com>
|
||||
Date: Fri, 5 May 2023 15:59:58 +0800
|
||||
Subject: [PATCH] Fix double-free when closing the input chooser dialog
|
||||
|
||||
---
|
||||
panels/region/cc-input-chooser.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/panels/region/cc-input-chooser.c b/panels/region/cc-input-chooser.c
|
||||
index 6746620..0e41481 100644
|
||||
--- a/panels/region/cc-input-chooser.c
|
||||
+++ b/panels/region/cc-input-chooser.c
|
||||
@@ -953,7 +953,7 @@ get_locale_infos (GtkWidget *chooser)
|
||||
info->name = g_strdup (C_("Input Source", "Other"));
|
||||
info->unaccented_name = g_strdup ("");
|
||||
info->untranslated_name = g_strdup ("");
|
||||
- g_hash_table_replace (priv->locales, info->id, info);
|
||||
+ g_hash_table_replace (priv->locales, g_strdup(info->id), info);
|
||||
|
||||
info->layout_rows_by_id = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
NULL, g_object_unref);
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
Name: gnome-control-center
|
||||
Version: 3.30.1
|
||||
Release: 16
|
||||
Release: 17
|
||||
Summary: GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop.
|
||||
License: GPLv2+ and CC-BY-3.0
|
||||
URL: http://www.gnome.org
|
||||
@ -31,6 +31,7 @@ Obsoletes: control-center < 1:%{version}-%{release}
|
||||
# Patch0 and Patch2 is from fedora 29
|
||||
Patch1: 0001-online-accounts-Track-the-lifecycle-of-CcGoaPanel-ac.patch
|
||||
Patch2: 0002-background-Add-queue-to-load-4-pictures-at-a-time.patch
|
||||
Patch3: 0001-Fix-double-free-when-closing-the-input-chooser-dialo.patch
|
||||
|
||||
Patch9000: bugfix-gnome-control-center-clickassist-fix.patch
|
||||
Patch9001: bugfix-gnome-control-center-fix-repetitivewallpapers.patch
|
||||
@ -108,6 +109,9 @@ chrpath --delete %{buildroot}%{_bindir}/gnome-control-center
|
||||
%{_mandir}/man1/*.gz
|
||||
|
||||
%changelog
|
||||
* Fri May 5 2023 shao_xuehua <shao_xuehua@hoperun.com> - 3.30.1-17
|
||||
- seetings: Fix double-free when closing the input chooser dialog
|
||||
|
||||
* Wed Dec 14 2022 Wei Chen <chenwei@xfusion.com> - 3.30.1-16
|
||||
- seetings: some Chinese adaptations in combobox of power options
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user