Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * libc/posix/wordfree.c (wordfree): The wrong words are freed | Corinna Vinschen | 2012-10-09 | 1 | -0/+21 |
when WRDE_DOOFFS is in use. Restructure the code so that the memory needed to be freed is instead kept in an internal linked list... * libc/posix/wordexp2.h: ...as defined here... * libc/posix/wordexp.c (wordexp): ...and build this internal linked list here, avoiding wasteful strdup calls in the process. |