noice.c | 2 +- diff --git a/noice.c b/noice.c index ba2774aea8f0c85173f0bad860477a2f364c4ed3..ee70d582ebeda790260b0f789fba22eb0e2da531 100644 --- a/noice.c +++ b/noice.c @@ -622,7 +622,7 @@ printwarn(); goto nochange; } else { free(path); - path = strdup(tmp); + path = tmp; free(filter); filter = strdup(ifilter); /* Reset filter */ DPRINTF_S(path);