Przeglądaj źródła

Only free history path if it is valid

master
lostd 11 lat temu
rodzic
commit
d84c3b1079
1 zmienionych plików z 4 dodań i 2 usunięć
  1. +4
    -2
      noice.c

+ 4
- 2
noice.c Wyświetl plik

@@ -604,8 +604,10 @@ begin:

/* Find cur from history */
cur = dentfind(dents, n, path, hpath);
free(hpath);
hpath = NULL;
if (hpath != NULL) {
free(hpath);
hpath = NULL;
}

for (;;) {
int nlines;


Ładowanie…
Anuluj
Zapisz