Added stack trace leak reporting to the debug allocator, fixed remaining two memory leaks

This commit is contained in:
Alexandros Naskos
2020-07-02 19:13:10 +03:00
parent 21e18a1d01
commit 8c154c2a60
3 changed files with 53 additions and 3 deletions

View File

@@ -2010,6 +2010,7 @@ fn makeScopeInternal(
}
}
scopes.items[scope_idx].tests = tests.toOwnedSlice();
scopes.items[scope_idx].uses = uses.toOwnedSlice();
return;
}