Browse Source

variables, drop redundant tfree(v->va_name), rely on free_struct_variable()

pre-master-46
rlar 10 years ago
parent
commit
596599492e
  1. 2
      src/frontend/variable.c

2
src/frontend/variable.c

@ -512,8 +512,8 @@ cp_remvar(char *varname)
} }
v->va_next = NULL; v->va_next = NULL;
tfree(v->va_name);
free_struct_variable(v); free_struct_variable(v);
free_struct_variable(uv1); free_struct_variable(uv1);
} }

Loading…
Cancel
Save