diff options
| author | 2014-10-08 15:27:46 +0300 | |
|---|---|---|
| committer | 2014-10-08 15:27:46 +0300 | |
| commit | bc766bc4a88accf873d9ec29e7c274804065a916 (patch) | |
| tree | f3245883d82289ec1bc6d5255672347ebd3413a0 | |
| parent | 4b56e4a122c9c16d00f459a992496423e2abce63 (diff) | |
| download | nnn-bc766bc4a88accf873d9ec29e7c274804065a916.tar.gz | |
Fix memory leaks
| -rw-r--r-- | noice.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } } |