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:
parent
d5075ec09e
commit
180170e250
@ -211,7 +211,7 @@ fuse_operations *operations() {
|
||||
|
||||
Fuse::~Fuse() {
|
||||
for(char *arg : _argv) {
|
||||
delete arg;
|
||||
delete[] arg;
|
||||
arg = nullptr;
|
||||
}
|
||||
_argv.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user