noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit bc766bc4a88accf873d9ec29e7c274804065a916
parent 4b56e4a122c9c16d00f459a992496423e2abce63
Author: lostd <lostd@2f30.org>
Date:   Wed,  8 Oct 2014 15:27:46 +0300

Fix memory leaks

Diffstat:
Mnoice.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/noice.c b/noice.c @@ -421,6 +421,7 @@ again: bin = openwith(name); if (bin == NULL) { printmsg("No association"); + free(pathnew); goto nochange; } @@ -439,6 +440,7 @@ again: goto redraw; default: printmsg("Unsupported file"); + free(pathnew); goto nochange; } }