[uim-commit] r420 - trunk/helper

kzk at freedesktop.org kzk at freedesktop.org
Mon Jan 31 04:44:09 PST 2005


Author: kzk
Date: 2005-01-31 04:44:06 -0800 (Mon, 31 Jan 2005)
New Revision: 420

Modified:
   trunk/helper/pref-gtk.c
Log:
* helper/pref-gtk.c
  - Fix memory leak. The value got by calling
    uim_custom_primary_groups() must be freed by calling
    uim_custom_symbol_list_free( primary_groups );

* uim-pref-qt's same problem will be fixed soon



Modified: trunk/helper/pref-gtk.c
===================================================================
--- trunk/helper/pref-gtk.c	2005-01-31 12:41:14 UTC (rev 419)
+++ trunk/helper/pref-gtk.c	2005-01-31 12:44:06 UTC (rev 420)
@@ -256,6 +256,8 @@
 			-1);
     uim_custom_group_free(group);
   }
+  uim_custom_symbol_list_free( primary_groups );
+
   gtk_tree_view_set_model (GTK_TREE_VIEW(pref_tree_view),
 			   GTK_TREE_MODEL(tree_store));
   g_object_unref (tree_store);



More information about the Uim-commit mailing list