[project @ 1997-03-14 03:08:24 by sof]
[ghc-hetmet.git] / ghc / runtime / storage / SMinit.lc
index 6de8ecb..2693f10 100644 (file)
@@ -23,8 +23,10 @@ A filehandle to which any storage-manager statistics should be written.
 rtsBool
 exitSM (smInfo *sm_info)
 {
+    int rc;
      /* Upon closing down the storage manager, we free all foreign objects */
-    freeForeigns(sm_info->ForeignObjList);
+    rc = freeForeigns(sm_info->ForeignObjList);
+     /* Return code ignored for now */
     stat_exit(sm_info->hp - hp_start);
 
     return rtsTrue; /* I'm happy */