Fix hooks

This commit is contained in:
gwenn
2018-08-11 11:14:17 +02:00
parent 87a0c3abca
commit 2a29717c5a
3 changed files with 73 additions and 20 deletions

View File

@@ -182,7 +182,7 @@ impl<'a> ValueRef<'a> {
}
unsafe extern "C" fn free_boxed_value<T>(p: *mut c_void) {
let _: Box<T> = Box::from_raw(p as *mut T);
drop(Box::from_raw(p as *mut T));
}
/// Context is a wrapper for the SQLite function evaluation context.