about summary refs log tree commit diff
path: root/src/nix-env/user-env.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28T17·50+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-28T17·52+0100
commitdec2f195022bcc14f217aa20c1e05e4b7fe9e917 (patch)
treed7e0ec658c5df8e5a2cc4b6fe653f9606eb7fc18 /src/nix-env/user-env.cc
parent61231449332154170eafc2b80c10328ba736f31e (diff)
Fix a segfault in genericClosure
It kept temporary data in STL containers that were not scanned by
Boehm GC, so Nix programs using genericClosure could randomly crash if
the garbage collector kicked in at a bad time.

Also make it a bit more efficient by copying points to values rather
than values.
Diffstat (limited to 'src/nix-env/user-env.cc')
0 files changed, 0 insertions, 0 deletions