Parcourir la source

Only free history path if it is valid

master
lostd il y a 11 ans
Parent
révision
d84c3b1079
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. +4
    -2
      noice.c

+ 4
- 2
noice.c Voir le fichier

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


Chargement…
Annuler
Enregistrer