mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
No need to strdup()
This commit is contained in:
parent
61bc5cd817
commit
330adc995f
2
noice.c
2
noice.c
|
@ -622,7 +622,7 @@ nochange:
|
||||||
goto nochange;
|
goto nochange;
|
||||||
} else {
|
} else {
|
||||||
free(path);
|
free(path);
|
||||||
path = strdup(tmp);
|
path = tmp;
|
||||||
free(filter);
|
free(filter);
|
||||||
filter = strdup(ifilter); /* Reset filter */
|
filter = strdup(ifilter); /* Reset filter */
|
||||||
DPRINTF_S(path);
|
DPRINTF_S(path);
|
||||||
|
|
Loading…
Reference in a new issue