Skip to content

Commit

Permalink
block: we don't need to free the signature anymore, its static
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Oct 21, 2023
1 parent 62bcb95 commit 38835ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/block.zig
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ pub fn Block(
_Block_object_dispose(@field(real_src, field.name), 3);
}
}
alloc.free(std.mem.sliceTo(real_src.descriptor.signature.?, 0));
alloc.destroy(real_src.descriptor);
}

Expand Down

0 comments on commit 38835ef

Please sign in to comment.