fixme, cp_remvar_all() needs to be reconsidered after code change in cp_usrvars()
This commit is contained in:
parent
6d6df3fff6
commit
62dd52fbcb
|
|
@ -1029,12 +1029,6 @@ var_set_vlist(struct variable *v, struct variable *value)
|
||||||
void
|
void
|
||||||
cp_remvar_all(void)
|
cp_remvar_all(void)
|
||||||
{
|
{
|
||||||
struct variable *uv1, *uv2;
|
|
||||||
|
|
||||||
cp_usrvars(&uv1, &uv2);
|
|
||||||
|
|
||||||
free_struct_variable(variables);
|
free_struct_variable(variables);
|
||||||
variables = NULL;
|
variables = NULL;
|
||||||
free_struct_variable(uv1);
|
|
||||||
free_struct_variable(uv2);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue