[uim-commit] r1336 - branches/r5rs/sigscheme

ekato at freedesktop.org ekato at freedesktop.org
Fri Aug 26 08:12:20 PDT 2005


Author: ekato
Date: 2005-08-26 08:12:18 -0700 (Fri, 26 Aug 2005)
New Revision: 1336

Modified:
   branches/r5rs/sigscheme/datas.c
Log:
* sigscheme/datas.c (finalize_protected_obj) : Reset
  protected_obj_list as NULL to avoid segv in
  gc_mark_protected_obj() in case uim_init_scm() is called after
  uim_scm_quit().


Modified: branches/r5rs/sigscheme/datas.c
===================================================================
--- branches/r5rs/sigscheme/datas.c	2005-08-26 14:53:12 UTC (rev 1335)
+++ branches/r5rs/sigscheme/datas.c	2005-08-26 15:12:18 UTC (rev 1336)
@@ -391,6 +391,7 @@
         item = item->next_obj;
         free(tmp);
     }
+    protected_obj_list = NULL;
 }
 
 static int is_pointer_to_heap(ScmObj obj)



More information about the uim-commit mailing list