diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-07-27 08:24:12 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-07-27 08:24:12 +0000 |
commit | 81418b36c02b6434acd4b8ae4cfb8c80a3742fd4 (patch) | |
tree | 4b551422581ae9a8093415e07c619e2a59ef6a7b /cpio/cmdline.c | |
parent | 132160f77407d2174d2bec0a8ba9c6eefc4429d7 (diff) |
Diffstat (limited to 'cpio/cmdline.c')
-rw-r--r-- | cpio/cmdline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpio/cmdline.c b/cpio/cmdline.c index 390aebc8fb850..438c27cf6a770 100644 --- a/cpio/cmdline.c +++ b/cpio/cmdline.c @@ -346,6 +346,7 @@ owner_parse(const char *spec, int *uid, int *gid) snprintf(errbuff, sizeof(errbuff), "Couldn't lookup user ``%s''", user); errbuff[sizeof(errbuff) - 1] = '\0'; + free(user); return (errbuff); } } |