View | Details | Raw Unified | Return to bug 266264
Collapse All | Expand All

(-)contrib/file/src/file.c (+1 lines)
Lines 529-534 out: file_err(EXIT_FAILURE, "Cannot allocate memory for file list"); Link Here
529
			char **nf = realloc(flist, fimax * sizeof(*flist));
529
			char **nf = realloc(flist, fimax * sizeof(*flist));
530
			if (nf == NULL)
530
			if (nf == NULL)
531
				goto out;
531
				goto out;
532
			flist = nf;
532
		}
533
		}
533
		flist[fi++] = line;
534
		flist[fi++] = line;
534
		cwid = file_mbswidth(ms, line);
535
		cwid = file_mbswidth(ms, line);

Return to bug 266264