From d099b167d2381e42f2e79c1c3280b5dcd49a215f Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 10 Dec 2020 19:41:57 +0100 Subject: [PATCH] config: free filter list items --- river/Config.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/river/Config.zig b/river/Config.zig index dddba8a..d5f9041 100644 --- a/river/Config.zig +++ b/river/Config.zig @@ -117,6 +117,9 @@ pub fn deinit(self: *Self) void { for (self.modes.items) |mode| mode.deinit(); self.modes.deinit(); + for (self.float_filter.items) |s| util.gpa.free(s); self.float_filter.deinit(); + + for (self.csd_filter.items) |s| util.gpa.free(s); self.csd_filter.deinit(); }