Author: ek.kato
Date: Wed Oct  8 01:46:41 2008
New Revision: 5590

Modified:
   trunk/helper/candwin-gtk.c

Log:
* helper/candwin-gtk.c
  - (candwin_activate)
  - (candwin_set_page_candidates)
    - Plug leak.


Modified: trunk/helper/candwin-gtk.c
==============================================================================
--- trunk/helper/candwin-gtk.c  (original)
+++ trunk/helper/candwin-gtk.c  Wed Oct  8 01:46:41 2008
@@ -488,6 +488,7 @@
       }
     }
   }
+  g_slist_free(candidates);

   uim_cand_win_gtk_set_page(cwin, 0);
   update_label(cwin);
@@ -634,6 +635,7 @@
   candidates = g_slist_reverse(candidates);

   uim_cand_win_gtk_set_page_candidates(cwin, page, candidates);
+  g_slist_free(candidates);
 }

 static void

Reply via email to