[uim-commit] r573 - trunk/helper
makeinu at freedesktop.org
makeinu at freedesktop.org
Sun Feb 6 09:16:12 PST 2005
Author: makeinu
Date: 2005-02-06 09:16:05 -0800 (Sun, 06 Feb 2005)
New Revision: 573
Modified:
trunk/helper/pref-gtk-custom-widgets.c
Log:
* helper/pref-gtk-custom-widgets.c
- (uim_pref_gtk_set_default_value): Do not access to invalid memory.
Modified: trunk/helper/pref-gtk-custom-widgets.c
===================================================================
--- trunk/helper/pref-gtk-custom-widgets.c 2005-02-06 17:02:02 UTC (rev 572)
+++ trunk/helper/pref-gtk-custom-widgets.c 2005-02-06 17:16:05 UTC (rev 573)
@@ -1982,12 +1982,11 @@
}
rv = uim_custom_set(custom);
- uim_custom_free(custom);
-
if (rv == UIM_FALSE) {
g_printerr("Failed to set value for \"%s\".\n", custom->symbol);
return;
}
+ uim_custom_free(custom);
switch (custom->type) {
case UCustom_Bool:
More information about the Uim-commit
mailing list