summaryrefslogtreecommitdiff
path: root/src/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.rs')
-rw-r--r--src/channel.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/channel.rs b/src/channel.rs
index 5135c22..5448333 100644
--- a/src/channel.rs
+++ b/src/channel.rs
@@ -368,7 +368,6 @@ impl<'sess> Read for Channel<'sess> {
}
}
-#[unsafe_destructor]
impl<'sess> Drop for Channel<'sess> {
fn drop(&mut self) {
unsafe { assert_eq!(raw::libssh2_channel_free(self.raw), 0) }