[uim-commit] r904 - in trunk: uim xim
ekato at freedesktop.org
ekato at freedesktop.org
Wed Jun 22 08:50:27 PDT 2005
Author: ekato
Date: 2005-06-22 08:50:23 -0700 (Wed, 22 Jun 2005)
New Revision: 904
Modified:
trunk/uim/uim.c
trunk/xim/ximim.cpp
Log:
* uim/uim.c (uim_release_context) : Plug leak.
(uim_quit) : Ditto.
* xim/ximim.cpp (XimIM::FreeComposeTree) : Ditto.
Modified: trunk/uim/uim.c
===================================================================
--- trunk/uim/uim.c 2005-06-22 14:39:48 UTC (rev 903)
+++ trunk/uim/uim.c 2005-06-22 15:50:23 UTC (rev 904)
@@ -268,6 +268,7 @@
free(uc->modes);
free(uc->short_desc);
free(uc->encoding);
+ free(uc->current_im_name);
free(uc);
}
@@ -689,6 +690,7 @@
/**/
uim_quit_plugin();
uim_scm_quit();
+ free(uim_last_client_encoding);
uim_last_client_encoding = NULL;
uim_initialized = 0;
}
Modified: trunk/xim/ximim.cpp
===================================================================
--- trunk/xim/ximim.cpp 2005-06-22 14:39:48 UTC (rev 903)
+++ trunk/xim/ximim.cpp 2005-06-22 15:50:23 UTC (rev 904)
@@ -398,6 +398,8 @@
FreeComposeTree(top->succession);
if (top->next)
FreeComposeTree(top->next);
+ free(top->mb);
+ free(top->utf8);
free(top);
}
More information about the uim-commit
mailing list