commit 330adc995f4528a29626b34da0a3d885b98139f7 parent 61bc5cd817ca25f2a1b2c3d10f739772376d1dbe Author: sin <sin@2f30.org> Date: Tue, 21 Oct 2014 15:17:44 +0100 No need to strdup() Diffstat:
M | noice.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);