[uim-commit] r422 - trunk/uim

kzk at freedesktop.org kzk at freedesktop.org
Mon Jan 31 05:13:42 PST 2005


Author: kzk
Date: 2005-01-31 05:13:06 -0800 (Mon, 31 Jan 2005)
New Revision: 422

Modified:
   trunk/uim/plugin.c
Log:
* uim/plugin.c
  - fix wrong condition of the last commit.


Modified: trunk/uim/plugin.c
===================================================================
--- trunk/uim/plugin.c	2005-01-31 12:48:49 UTC (rev 421)
+++ trunk/uim/plugin.c	2005-01-31 13:13:06 UTC (rev 422)
@@ -109,11 +109,6 @@
     plugin_lib_filename = NULL;
   }
 
-  if(plugin_lib_filename == NULL) {
-    free(plugin_name);
-    return uim_scm_f();
-  }
-  
   for(path_car = uim_scm_car(scm_path), path_cdr = uim_scm_cdr(scm_path);
       path_car != uim_scm_f();
       path_car = uim_scm_car(path_cdr), path_cdr = uim_scm_cdr(path_cdr))
@@ -134,8 +129,7 @@
     plugin_scm_filename = NULL;
   }
 
-  if(plugin_scm_filename == NULL) {
-    free(plugin_lib_filename);
+  if(plugin_lib_filename == NULL) {
     free(plugin_name);
     return uim_scm_f();
   }



More information about the Uim-commit mailing list