| author | |
| committer | |
| log | b4091e3aec1e13350983f8f8df31280b285fe111 |
| tree | 781f355f051f7a9ac68692e6027e7b4a5b3c4021 |
| parent | 3062e0e9320a3ce9447e4611919cbe93296a1ce1 |
| signature |
1 files changed, 1 insertions(+), 2 deletions(-)
lib/std/fifo.zig+1-2| ... | ... | @@ -78,9 +78,8 @@ pub fn LinearFifo( |
| 78 | 78 | }, |
| 79 | 79 | }; |
| 80 | 80 | |
| 81 | pub fn deinit(self: *Self) void { | |
| 81 | pub fn deinit(self: Self) void { | |
| 82 | 82 | if (buffer_type == .Dynamic) self.allocator.free(self.buf); |
| 83 | self.* = undefined; | |
| 84 | 83 | } |
| 85 | 84 | |
| 86 | 85 | pub fn realign(self: *Self) void { |