From b4484d51c14ec3b70ed8d4b6700bc3536a3ee766 Mon Sep 17 00:00:00 2001 From: Michael Sullivan Date: Mon, 18 Jun 2012 12:48:47 -0700 Subject: Some cleanup in the runtime. --- src/rt/rust_task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index a5097dff4d0..19785e3a24e 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -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); } -- cgit 1.4.1-3-g733a5