Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Auto-format: cargo fmt --all
  • Loading branch information
github-actions[bot] authored and youknowone committed Mar 4, 2026
commit 7b25894011afeb70be61dfa39f6a8e0069c94b30
5 changes: 1 addition & 4 deletions crates/vm/src/object/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -893,10 +893,7 @@ impl<T: PyPayload> Drop for FreeList<T> {
// MAX_FREELIST per type per thread.
for ptr in self.items.drain(..) {
unsafe {
alloc::alloc::dealloc(
ptr as *mut u8,
alloc::alloc::Layout::new::<PyInner<T>>(),
);
alloc::alloc::dealloc(ptr as *mut u8, alloc::alloc::Layout::new::<PyInner<T>>());
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
}
Expand Down