free some things in runner

This commit is contained in:
Luna 2019-08-13 10:33:08 -03:00
parent b66070c4e4
commit 0ad1c88274
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,7 @@ pub const Runner = struct {
"{}_g",
basename[0..period_idx],
);
defer self.allocator.free(starts_with);
var max: usize = 0;
@ -328,6 +329,8 @@ pub const Runner = struct {
.Mbeq => blk: {
const pos = try cmd.consumePosition();
const bands = try cmd.floatArgMany(self.allocator, 2, 15, f32(0));
defer self.allocator.free(bands);
try self.mbeqCmd(pos, bands);
},