diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/references.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/references.cc b/src/libstore/references.cc index 75a6efead0b2..4e4bb7ad1e62 100644 --- a/src/libstore/references.cc +++ b/src/libstore/references.cc @@ -78,7 +78,7 @@ void checkPath(const string & path, search(string((char *) buf, st.st_size), ids, seen); - delete buf; /* !!! autodelete */ + delete[] buf; /* !!! autodelete */ } else if (S_ISLNK(st.st_mode)) |