Submit #2600 » 0004-Fix-memory-leak-in-df-1.patch
bin/df/df.c | ||
---|---|---|
listptr[cnt++] = strdup(ptr->vfc_name);
|
||
if (listptr[cnt-1] == NULL) {
|
||
warnx("malloc failed");
|
||
free(listptr);
|
||
return (NULL);
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- 3
- 4
- Next »