Explorar el Código

Fix memory leak

master
sin hace 9 años
padre
commit
6d4166f0d6
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      noice.c

+ 1
- 0
noice.c Ver fichero

@@ -485,6 +485,7 @@ dentfill(char *path, struct entry **dents,
r = lstat(newpath, &sb);
if (r == -1)
printerr(1, "lstat");
free(newpath);
(*dents)[n].mode = sb.st_mode;
(*dents)[n].t = sb.st_mtime;
n++;


Cargando…
Cancelar
Guardar