This commit is contained in:
Arun Prakash Jana 2018-10-27 19:13:12 +05:30
parent c5a841f507
commit 134ee92f43
No known key found for this signature in database
GPG key ID: A75979F35C080412

3
nnn.c
View file

@ -2160,8 +2160,7 @@ static int dentfill(char *path, struct entry **dents,
total_dents += ENTRY_INCR; total_dents += ENTRY_INCR;
*dents = xrealloc(*dents, total_dents * sizeof(**dents)); *dents = xrealloc(*dents, total_dents * sizeof(**dents));
if (*dents == NULL) { if (*dents == NULL) {
if (pnamebuf) free(pnamebuf);
free(pnamebuf);
errexit(); errexit();
} }
DPRINTF_P(*dents); DPRINTF_P(*dents);