Sfoglia il codice sorgente

Fix memory leaks

master
lostd 11 anni fa
parent
commit
bc766bc4a8
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      noice.c

+ 2
- 0
noice.c Vedi File

@@ -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;
}
}


Loading…
Annulla
Salva