mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Revert "Use std.testing.free over destroy"
This reverts commit 7ba074353028907450c0eaad0da5cc32c4f38df8.
This commit is contained in:
parent
8c267f937b
commit
afca1b9ee5
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ fn testing_roc_realloc(c_ptr: *c_void, new_size: usize, old_size: usize, _: u32)
|
|||
fn testing_roc_dealloc(c_ptr: *c_void, _: u32) callconv(.C) void {
|
||||
const ptr = @ptrCast([*]u8, @alignCast(16, c_ptr));
|
||||
|
||||
std.testing.allocator.free(ptr);
|
||||
std.testing.allocator.destroy(ptr);
|
||||
}
|
||||
|
||||
fn testing_roc_panic(c_ptr: *c_void, tag_id: u32) callconv(.C) void {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue