about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-06-18 12:48:47 -0700
committerMichael Sullivan <sully@msully.net>2012-06-18 15:54:37 -0700
commitb4484d51c14ec3b70ed8d4b6700bc3536a3ee766 (patch)
treecb7fabe779a02116b0bcba3d8ef8eb86ce185b4a /src/rt/rust_task.cpp
parent8967a6672477dce9fb8e765b07df4e54615cf265 (diff)
downloadrust-b4484d51c14ec3b70ed8d4b6700bc3536a3ee766.tar.gz
rust-b4484d51c14ec3b70ed8d4b6700bc3536a3ee766.zip
Some cleanup in the runtime.
Diffstat (limited to 'src/rt/rust_task.cpp')
-rw-r--r--src/rt/rust_task.cpp2
1 files changed, 1 insertions, 1 deletions
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);
     }