diff options
author | Roland McGrath <roland@redhat.com> | 1992-10-09 17:50:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1992-10-09 17:50:55 +0000 |
commit | 112dd3508d9e1c0cbe33d047e613d77dc248b2ff (patch) | |
tree | 5d0095bfbeadc6b64cea63f34bd1036e2827c7e5 /variable.c | |
parent | 46ccc784fe97444a0a7de1fe895965989a92bb97 (diff) | |
download | gunmake-112dd3508d9e1c0cbe33d047e613d77dc248b2ff.tar.gz |
Formerly variable.c.~11~
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -88,6 +88,8 @@ define_variable_in_set (name, length, value, origin, recursive, set) than this one, don't redefine it. */ if ((int) origin >= (int) v->origin) { + if (v->value != 0) + free (v->value); v->value = savestring (value, strlen (value)); v->origin = origin; v->recursive = recursive; |