]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly variable.c.~12~
authorRoland McGrath <roland@redhat.com>
Fri, 23 Oct 1992 19:57:55 +0000 (19:57 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 23 Oct 1992 19:57:55 +0000 (19:57 +0000)
variable.c

index 8d051983a1682048968b7e66488d1d146dc6bb58..46b691e58ba11b4b5c43c4c8ae9170b70b53ed01 100644 (file)
@@ -360,6 +360,7 @@ define_automatic_variables ()
   /* Don't let SHELL come from the environment.  */
   if (*v->value == '\0' || (v->origin == o_env))
     {
+      free (v->value);
       v->origin = o_file;
       v->value = savestring (default_shell, 7);
     }