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

This commit is contained in:
rlar 2016-08-04 21:57:44 +02:00
parent fe24b3e6dd
commit 596599492e
1 changed files with 1 additions and 1 deletions

View File

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