Commit 2234899e authored by Steven Fackler's avatar Steven Fackler
Browse files

Fix drop signature

parent 548c8b5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ use std::str;

pub struct CryptoString(&'static str);

impl<'s> Drop for CryptoString {
impl Drop for CryptoString {
    fn drop(&mut self) {
        unsafe {
            CRYPTO_free(self.0.as_ptr() as *mut c_void,