Compare commits
1 Commits
97bab82a78
...
861e1cd654
Author | SHA1 | Date | |
---|---|---|---|
|
861e1cd654 |
@ -3251,36 +3251,3 @@ index c6a030fe..1b62f656 100644
|
|||||||
--
|
--
|
||||||
2.41.0
|
2.41.0
|
||||||
|
|
||||||
From 1be3e2f79b384a374b2a69a31c88a4f36e1dd868 Mon Sep 17 00:00:00 2001
|
|
||||||
From: fujiwarat <takao.fujiwara1@gmail.com>
|
|
||||||
Date: Wed, 15 Nov 2023 17:19:02 +0900
|
|
||||||
Subject: [PATCH] client/gtk2: Call strdup() after g_return_if_fail()
|
|
||||||
|
|
||||||
---
|
|
||||||
client/gtk2/ibusimcontext.c | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
|
|
||||||
index b5a44da0..cfc08c20 100644
|
|
||||||
--- a/client/gtk2/ibusimcontext.c
|
|
||||||
+++ b/client/gtk2/ibusimcontext.c
|
|
||||||
@@ -2417,7 +2417,7 @@ _create_input_context_done (IBusBus *bus,
|
|
||||||
static void
|
|
||||||
_create_input_context (IBusIMContext *ibusimcontext)
|
|
||||||
{
|
|
||||||
- gchar *prgname = g_strdup (g_get_prgname());
|
|
||||||
+ gchar *prgname;
|
|
||||||
gchar *client_name;
|
|
||||||
IDEBUG ("%s", __FUNCTION__);
|
|
||||||
|
|
||||||
@@ -2425,6 +2425,7 @@ _create_input_context (IBusIMContext *ibusimcontext)
|
|
||||||
|
|
||||||
g_return_if_fail (ibusimcontext->cancellable == NULL);
|
|
||||||
|
|
||||||
+ prgname = g_strdup (g_get_prgname());
|
|
||||||
ibusimcontext->cancellable = g_cancellable_new ();
|
|
||||||
|
|
||||||
if (!prgname)
|
|
||||||
--
|
|
||||||
2.41.0
|
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
Name: ibus
|
Name: ibus
|
||||||
Version: 1.5.25
|
Version: 1.5.25
|
||||||
Release: 5%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Intelligent Input Bus for Linux OS
|
Summary: Intelligent Input Bus for Linux OS
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/ibus/%name/wiki
|
URL: https://github.com/ibus/%name/wiki
|
||||||
@ -513,9 +513,6 @@ dconf update || :
|
|||||||
%{_datadir}/installed-tests/ibus
|
%{_datadir}/installed-tests/ibus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Nov 15 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.25-5
|
|
||||||
- Resolves: RHEL-1616 Fix RESOURCE_LEAK in OpenScanHub
|
|
||||||
|
|
||||||
* Mon Oct 30 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.25-4
|
* Mon Oct 30 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.25-4
|
||||||
- Resolves: RHEL-1616 Make ibus-tests to depend on ibus-libs
|
- Resolves: RHEL-1616 Make ibus-tests to depend on ibus-libs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user