Project

General

Profile

Submit #2600 » 0004-Fix-memory-leak-in-df-1.patch

rolinh, 10/25/2013 03:22 AM

View differences:

bin/df/df.c
listptr[cnt++] = strdup(ptr->vfc_name);
if (listptr[cnt-1] == NULL) {
warnx("malloc failed");
free(listptr);
return (NULL);
}
}
(4-4/4)