Fix memory leak reported by asan. Not a bad one since it only happens on program exit when the memory is freed anyhow, but better be clean ;)

This commit is contained in:
Sebastian Messmer 2017-10-02 07:56:31 +01:00
parent d5075ec09e
commit 180170e250

View File

@ -211,7 +211,7 @@ fuse_operations *operations() {
Fuse::~Fuse() {
for(char *arg : _argv) {
delete arg;
delete[] arg;
arg = nullptr;
}
_argv.clear();