diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-06-05 14:22:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-06-05 14:22:27 +0000 |
commit | ac15953f968c01f889b83302b80f0b29c66b14f7 (patch) | |
tree | 27738a084e51065822a660c375f13cd542a70e38 | |
parent | 5bb46825ef442d6b93f4a05ca486f997e56ed275 (diff) | |
download | glibc-ac15953f968c01f889b83302b80f0b29c66b14f7.tar.gz glibc-ac15953f968c01f889b83302b80f0b29c66b14f7.tar.xz glibc-ac15953f968c01f889b83302b80f0b29c66b14f7.zip |
Add missing free.
-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; } |