(parse_param): Fix memory leak.
authordrepper <drepper>
Mon, 29 Jun 1998 10:53:09 +0000 (10:53 +0000)
committerdrepper <drepper>
Mon, 29 Jun 1998 10:53:09 +0000 (10:53 +0000)
posix/wordexp.c

index 265ddd8..4991406 100644 (file)
@@ -1343,7 +1343,7 @@ envsubst:
 
              /* Start a new word with the last parameter. */
              *word = w_newword (word_length, max_length);
-             value = __strdup (__libc_argv[p]);
+             value = __libc_argv[p];
            }
          else
            {