diff --git a/noice.c b/noice.c index ba2774ae..ee70d582 100644 --- a/noice.c +++ b/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);