config: free filter list items

This commit is contained in:
Isaac Freund 2020-12-10 19:41:57 +01:00
parent 49bf0e679f
commit d099b167d2
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11

View file

@ -117,6 +117,9 @@ pub fn deinit(self: *Self) void {
for (self.modes.items) |mode| mode.deinit(); for (self.modes.items) |mode| mode.deinit();
self.modes.deinit(); self.modes.deinit();
for (self.float_filter.items) |s| util.gpa.free(s);
self.float_filter.deinit(); self.float_filter.deinit();
for (self.csd_filter.items) |s| util.gpa.free(s);
self.csd_filter.deinit(); self.csd_filter.deinit();
} }