]> Sergey Matveev's repositories - nnn.git/commitdiff
Another leak in the wall
authorlostd <lostd@2f30.org>
Fri, 10 Oct 2014 12:02:26 +0000 (15:02 +0300)
committerlostd <lostd@2f30.org>
Fri, 10 Oct 2014 12:02:26 +0000 (15:02 +0300)
noice.c

diff --git a/noice.c b/noice.c
index a0e98fcb1bc8b718d5e886a0be81edde40a16f7a..11d950a7e4e2bf8c3909b2b24208dbb5e2ae703f 100644 (file)
--- a/noice.c
+++ b/noice.c
@@ -539,6 +539,7 @@ nochange:
                        }
                        r = setfilter(&re, tmp);
                        if (r != 0) {
+                               free(tmp);
                                printmsg("");
                                goto nochange;
                        }