Some cleanup in the runtime.

This commit is contained in:
Michael Sullivan
2012-06-18 12:48:47 -07:00
parent 8967a66724
commit b4484d51c1
4 changed files with 9 additions and 8 deletions

View File

@@ -171,7 +171,7 @@ void task_start_wrapper(spawn_args *a)
if(env) {
// free the environment (which should be a unique closure).
const type_desc *td = env->td;
td->drop_glue(NULL, NULL, td->first_param, box_body(env));
td->drop_glue(NULL, NULL, NULL, box_body(env));
upcall_exchange_free(env);
}