diff options
author | Kane York <kanepyork@gmail.com> | 2020-08-01T21·11-0700 |
---|---|---|
committer | kanepyork <rikingcoding@gmail.com> | 2020-08-01T21·16+0000 |
commit | f7a85c5060301bcbd2fb71881de8b65226cacd81 (patch) | |
tree | d4ef8b9552d8e8f7124347137cc48152b7af6416 /third_party/git/decorate.c | |
parent | 3fdce7c6be52bd2b86bd8a75c06f27f94b753c4f (diff) |
fix(3p/nix/expr): use traceable_allocator for btree_map r/1530
The prior use of gc_allocator meant that the btree nodes themselves were being collected. Additionally, have Attr (contains a Value) and Bindings explicitly inherit from gc, even though Bindings is always allocated under `new (GC)`. Detected by running under GC_ENABLE_INCREMENTAL=1. Change-Id: Iacf13b34b5aa12e417ea87c9b46e2bf9199fdb26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1544 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/git/decorate.c')
0 files changed, 0 insertions, 0 deletions