Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
astrophysik committed Feb 10, 2025
1 parent 35e9ed9 commit 80638e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime-common/core/allocator/script-allocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct script_allocator {
}

constexpr void deallocate(T *p, size_t n) noexcept {
RuntimeAllocator::get().free_script_memory(p, n);
RuntimeAllocator::get().free_script_memory(p, n * sizeof(T));
}
};

Expand Down

0 comments on commit 80638e2

Please sign in to comment.