Fix drop signature

This commit is contained in:
Steven Fackler 2016-10-26 22:00:33 -07:00
parent 548c8b5fba
commit 2234899e59
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ use std::str;
pub struct CryptoString(&'static str); pub struct CryptoString(&'static str);
impl<'s> Drop for CryptoString { impl Drop for CryptoString {
fn drop(&mut self) { fn drop(&mut self) {
unsafe { unsafe {
CRYPTO_free(self.0.as_ptr() as *mut c_void, CRYPTO_free(self.0.as_ptr() as *mut c_void,