summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/fcitx-m17n/files/fcitx-m17n-0.2.3-memory_leak.patch')
-rw-r--r--app-i18n/fcitx-m17n/files/fcitx-m17n-0.2.3-memory_leak.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-i18n/fcitx-m17n/files/fcitx-m17n-0.2.3-memory_leak.patch b/app-i18n/fcitx-m17n/files/fcitx-m17n-0.2.3-memory_leak.patch
new file mode 100644
index 000000000000..ef89d35075a2
--- /dev/null
+++ b/app-i18n/fcitx-m17n/files/fcitx-m17n-0.2.3-memory_leak.patch
@@ -0,0 +1,20 @@
+https://github.com/fcitx/fcitx-m17n/commit/52d3d740c35845c78857ead8a0537eb7b0d4706f
+
+--- /im/fcitx-m17n.c
++++ /im/fcitx-m17n.c
+@@ -592,6 +592,7 @@
+ } else {
+ iconName = uniqueName;
+ }
++ m17n_object_unref(info);
+
+ FcitxIMIFace iface;
+ memset(&iface, 0, sizeof(FcitxIMIFace));
+@@ -619,6 +620,7 @@
+ free(uniqueName);
+ free(fxName);
+ }
++ m17n_object_unref(mimlist);
+
+ fcitx_utils_free(curlang);
+