forked from lix-project/lix
* Wrong delete. Thanks valgrind.
This commit is contained in:
parent
b90787290d
commit
b602d2dfdf
|
@ -78,7 +78,7 @@ void checkPath(const string & path,
|
||||||
|
|
||||||
search(string((char *) buf, st.st_size), ids, seen);
|
search(string((char *) buf, st.st_size), ids, seen);
|
||||||
|
|
||||||
delete buf; /* !!! autodelete */
|
delete[] buf; /* !!! autodelete */
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (S_ISLNK(st.st_mode))
|
else if (S_ISLNK(st.st_mode))
|
||||||
|
|
Loading…
Reference in a new issue