We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfe285a commit 9b110f5Copy full SHA for 9b110f5
1 file changed
src/commands.rs
@@ -32,8 +32,10 @@ extern "C" fn reply(
32
context.as_ptr(),
33
) as *mut *mut RedisReply
34
};
35
+ let result_wrap: Box<*mut r::RedisReply> =
36
+ unsafe { Box::from_raw(result) };
37
let mut result: Box<r::RedisReply> =
- unsafe { Box::from_raw(*result) };
38
+ unsafe { Box::from_raw(*result_wrap) };
39
result.reply(&context)
40
}
41
0 commit comments