From f3ad0eb3aa2975209e93329b3137bd564daaf475 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Fri, 21 Oct 2022 05:11:50 -0300 Subject: [PATCH] fix(ppu): deallocate palette RAM on cleanup --- src/ppu.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ppu.zig b/src/ppu.zig index e4989fa..f197568 100644 --- a/src/ppu.zig +++ b/src/ppu.zig @@ -23,6 +23,7 @@ pub const Ppu = struct { pub fn deinit(self: @This()) void { self.vram.deinit(); + self.palette.deinit(); } };