[uim-commit] r2941 - trunk/gtk

ekato at freedesktop.org ekato at freedesktop.org
Thu Jan 19 03:01:04 PST 2006


Author: ekato
Date: 2006-01-19 03:00:58 -0800 (Thu, 19 Jan 2006)
New Revision: 2941

Modified:
   trunk/gtk/key-util-gtk.c
Log:
* gtk/key-util-gtk.c (im_uim_init_modifier_keys) : Plug leak.


Modified: trunk/gtk/key-util-gtk.c
===================================================================
--- trunk/gtk/key-util-gtk.c	2006-01-18 16:16:15 UTC (rev 2940)
+++ trunk/gtk/key-util-gtk.c	2006-01-19 11:00:58 UTC (rev 2941)
@@ -344,6 +344,11 @@
       k++;
     }
   }
+  g_slist_free(mod1_list);
+  g_slist_free(mod2_list);
+  g_slist_free(mod3_list);
+  g_slist_free(mod4_list);
+  g_slist_free(mod5_list);
   XFreeModifiermap(map);
   XFree(sym);
 #endif



More information about the uim-commit mailing list