*** empty log message ***
authorJosh Yelon <jyelon@uiuc.edu>
Mon, 28 Jul 1997 19:56:48 +0000 (19:56 +0000)
committerJosh Yelon <jyelon@uiuc.edu>
Mon, 28 Jul 1997 19:56:48 +0000 (19:56 +0000)
src/conv-core/futures.c

index 3f376e82ed893d9abd6ec76bd8499459af4344cd..357037af0391d0025044fbde897ce933f5cae001 100644 (file)
@@ -112,11 +112,11 @@ void CfutureDestroy(Cfuture f)
     CmiPrintf("error: CfutureDestroy: destroying an active future.\n");
     exit(1);
   }
-  if (f.data->value) free(f.data->value);
-  free(f);
+  if (f.data->value) CmiFree(f.data->value);
+  free(f.data);
 }
 
-void CfutureInit()
+void CfutureModuleInit()
 {
   CpvInitialize(int, CfutureStoreIndex);
   CpvAccess(CfutureStoreIndex) = CmiRegisterHandler(CfutureStore);