Compare commits
No commits in common. "ef39d9a7b8556e7441fe3b523d997c8bc987151c" and "d34893ba727513d3a676449126ca685d13c899c4" have entirely different histories.
ef39d9a7b8
...
d34893ba72
|
@ -1,14 +1,9 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**.zig"
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
|
@ -102,7 +102,7 @@ pub fn deinit(self: *Self) void {
|
|||
// This is so I can deallocate the original `allocator.alloc`. I have to re-make the type
|
||||
// since I'm not keeping it around, This is very jank and bad though
|
||||
// FIXME: please figure out another way
|
||||
self.allocator.free(@ptrCast([*]const ?*anyopaque, self.read_table[0..])[0 .. 3 * table_len]);
|
||||
self.allocator.free(@ptrCast([*]const ?*anyopaque, self.write_tables[0][0..])[0 .. 3 * table_len]);
|
||||
self.* = undefined;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue