We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cce878f commit 82a7143Copy full SHA for 82a7143
1 file changed
rust/src/download_provider.rs
@@ -253,6 +253,7 @@ impl DownloadInstance {
253
)
254
};
255
256
+ unsafe { drop(Box::from_raw(callbacks)) };
257
if result < 0 {
258
unsafe { BNFreeDownloadInstanceResponse(response) };
259
return Err(self.get_error());
0 commit comments