diff options
author | 2023-07-29 04:24:08 -0700 | |
---|---|---|
committer | 2023-07-29 04:24:08 -0700 | |
commit | c708cd8f2616b75eb1bfb9319a2d43a7c194d1bc (patch) | |
tree | 9df00826b972ae4e31d6bff49ac28890e562d4f0 /src/bun.js/api/filesystem_router.zig | |
parent | bcb6dc78060f4309c08b63827b10e3d55632d647 (diff) | |
download | bun-c708cd8f2616b75eb1bfb9319a2d43a7c194d1bc.tar.gz bun-c708cd8f2616b75eb1bfb9319a2d43a7c194d1bc.tar.zst bun-c708cd8f2616b75eb1bfb9319a2d43a7c194d1bc.zip |
experiment: use bmalloc/libpas instead of mimalloc in most places
Diffstat (limited to 'src/bun.js/api/filesystem_router.zig')
-rw-r--r-- | src/bun.js/api/filesystem_router.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/api/filesystem_router.zig b/src/bun.js/api/filesystem_router.zig index 216f66b7f..814f9c9b6 100644 --- a/src/bun.js/api/filesystem_router.zig +++ b/src/bun.js/api/filesystem_router.zig @@ -550,7 +550,7 @@ pub const MatchedRoute = struct { } if (this.needs_deinit) { if (this.route.pathname.len > 0 and bun.Mimalloc.mi_is_in_heap_region(this.route.pathname.ptr)) { - bun.Mimalloc.mi_free(bun.constStrToU8(this.route.pathname).ptr); + bun.default_allocator.free(bun.constStrToU8(this.route.pathname)); } this.params_list_holder.deinit(bun.default_allocator); |