Jeremiah
@@ -506,6 +516,7 @@ static SCM scheme_activate_menu_item(SCM menupath) {
     item = scm_to_locale_string(menupath);
     if(item) {
       gboolean ret = activate_action(item) ? TRUE:FALSE;
+      g_free(item);
       return SCM_BOOL(ret);
     }
   }

Is this one right? scm_to_locale_string() cannot be returning something
allocated with g_malloc can it (since scheme lib knows nothing of glib)?
So it must be malloc, in which case free(item) not g_free()???
other examples of the same are further down in this patch...

Richard



_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to