about summary refs log tree commit diff
path: root/sysdeps/generic/wordexp.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-05 14:22:27 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-05 14:22:27 +0000
commitac15953f968c01f889b83302b80f0b29c66b14f7 (patch)
tree27738a084e51065822a660c375f13cd542a70e38 /sysdeps/generic/wordexp.c
parent5bb46825ef442d6b93f4a05ca486f997e56ed275 (diff)
downloadglibc-ac15953f968c01f889b83302b80f0b29c66b14f7.tar.gz
glibc-ac15953f968c01f889b83302b80f0b29c66b14f7.tar.xz
glibc-ac15953f968c01f889b83302b80f0b29c66b14f7.zip
Add missing free.
Diffstat (limited to 'sysdeps/generic/wordexp.c')
-rw-r--r--sysdeps/generic/wordexp.c1
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;
 }