Fix memory leak.
authorPeng Huang <shawn.p.huang@gmail.com>
Fri, 28 Aug 2009 05:09:58 +0000 (13:09 +0800)
committerPeng Huang <shawn.p.huang@gmail.com>
Thu, 10 Dec 2009 12:33:16 +0000 (20:33 +0800)
src/engine.c

index 8fa917b..5e57ee0 100644 (file)
@@ -269,6 +269,7 @@ ibus_hangul_engine_init (IBusHangulEngine *hangul)
     g_object_unref (label);
     g_object_unref (tooltip);
     ibus_prop_list_append (hangul->prop_list, prop);
+    g_object_unref (prop);
 
     hangul->table = ibus_lookup_table_new (9, 0, TRUE, FALSE);