about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-08-05 16:29:30 -0700
committerEric Holk <eholk@mozilla.com>2011-08-05 17:01:06 -0700
commitf9fd785cf50e31b043f44a7bd0fc24f31e67ec7b (patch)
treedaec20bf44516f98b56a5c2eceec814e66513be2
parent5f89a4f5f35bf5f85210b6d014d8707f48ed4ac2 (diff)
downloadrust-f9fd785cf50e31b043f44a7bd0fc24f31e67ec7b.tar.gz
rust-f9fd785cf50e31b043f44a7bd0fc24f31e67ec7b.zip
Removing an invalid operation in the attempt to restore valgrind cleanness.
-rw-r--r--src/lib/comm.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/comm.rs b/src/lib/comm.rs
index 35c8ad2f6ef..d8275de1d7e 100644
--- a/src/lib/comm.rs
+++ b/src/lib/comm.rs
@@ -30,7 +30,6 @@ resource chan_ptr(ch: *rustrt::rust_chan) {
     rustrt::drop_chan(ch);
     rustrt::drop_chan(ch); // FIXME: We shouldn't have to do this
                            // twice.
-    rustrt::del_chan(ch);
 }
 
 resource port_ptr(po: *rustrt::rust_port) {