about summary refs log tree commit diff
path: root/src/rt/rust_uv.cpp
diff options
context:
space:
mode:
authorJeff Olson <olson.jeffery@gmail.com>2012-04-16 22:39:17 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-20 15:23:22 -0700
commit9a5d1974dc5114d6990db47cfd1d1edaabe01ce8 (patch)
treecfc74999e34d73d583689b3d4eda55a021c61f42 /src/rt/rust_uv.cpp
parentf21d25b54c4a721b609a0dbb51ec360f4e4cbcc9 (diff)
downloadrust-9a5d1974dc5114d6990db47cfd1d1edaabe01ce8.tar.gz
rust-9a5d1974dc5114d6990db47cfd1d1edaabe01ce8.zip
don't use ::malloc for initializing the global_async_handle in rust_kernel
Diffstat (limited to 'src/rt/rust_uv.cpp')
-rw-r--r--src/rt/rust_uv.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rt/rust_uv.cpp b/src/rt/rust_uv.cpp
index 287e45aecd6..01517539e7a 100644
--- a/src/rt/rust_uv.cpp
+++ b/src/rt/rust_uv.cpp
@@ -454,7 +454,3 @@ extern "C" void
 rust_uv_set_kernel_global_async_handle(uv_async_t* handle) {
     rust_get_current_task()->kernel->set_global_async_handle((void*)handle);
 }
-extern "C" void
-rust_uv_free_kernel_global_async_handle() {
-    free((void*)rust_get_current_task()->kernel->get_global_async_handle());
-}