summaryrefslogtreecommitdiff
blob: ef89d35075a2ab8135da8b3e0f6cd048509068d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);