diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/wordexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/generic/wordexp.c b/sysdeps/generic/wordexp.c index 82765e1820..dcd724ef4f 100644 --- a/sysdeps/generic/wordexp.c +++ b/sysdeps/generic/wordexp.c @@ -370,6 +370,7 @@ parse_tilde (char **word, size_t *word_length, size_t *max_length, } *offset = i - 1; + free (user); } return *word ? 0 : WRDE_NOSPACE; } |