diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-20T22·05+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-20T22·05+0200 |
commit | fefd3650d4aa0c378da2ae1f1cdda772d5afaf13 (patch) | |
tree | 3d5286e7aa7b635999f0124ffaf80a00be5fd6d1 | |
parent | 65243ee8333a99f6461abf417d880a028dc96d91 (diff) |
Fix a segfault in ‘nix-env -qa’
This was triggered by 47e185847e729d49e6aa376e8299fd66ef834a0a, which turned globals.state into a pointer.
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index aa706cf98359..82c1a43b13d6 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -108,7 +108,7 @@ private: /* A cache from path names to values. */ #if HAVE_BOEHMGC - typedef std::map<Path, Value, std::less<Path>, gc_allocator<std::pair<const Path, Value> > > FileEvalCache; + typedef std::map<Path, Value, std::less<Path>, traceable_allocator<std::pair<const Path, Value> > > FileEvalCache; #else typedef std::map<Path, Value> FileEvalCache; #endif |