mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
std.debug.Pdb: fix leak
This commit is contained in:
parent
4cb84f8e48
commit
d289667856
@ -171,6 +171,7 @@ pub fn parseInfoStream(self: *Pdb) !void {
|
||||
const string_table_index = str_tab_index: {
|
||||
const name_bytes_len = try reader.takeInt(u32, .little);
|
||||
const name_bytes = try reader.readAlloc(gpa, name_bytes_len);
|
||||
defer gpa.free(name_bytes);
|
||||
|
||||
const HashTableHeader = extern struct {
|
||||
size: u32,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user