1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

Fix GC bug in ExprPath

This commit is contained in:
Eelco Dolstra 2022-05-12 20:37:18 +02:00
parent 9e05daaa9e
commit 9411299875
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
5 changed files with 19 additions and 14 deletions

View file

@ -263,6 +263,14 @@ public:
void mkPath(const SourcePath & path);
inline void mkPath(InputAccessor * accessor, const char * path)
{
clearValue();
internalType = tPath;
_path.accessor = accessor;
_path.path = path;
}
inline void mkNull()
{
clearValue();