mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
No need to strdup()
This commit is contained in:
parent
61bc5cd817
commit
330adc995f
1 changed files with 1 additions and 1 deletions
2
noice.c
2
noice.c
|
@ -622,7 +622,7 @@ nochange:
|
|||
goto nochange;
|
||||
} else {
|
||||
free(path);
|
||||
path = strdup(tmp);
|
||||
path = tmp;
|
||||
free(filter);
|
||||
filter = strdup(ifilter); /* Reset filter */
|
||||
DPRINTF_S(path);
|
||||
|
|
Loading…
Add table
Reference in a new issue