No longer potentially leak memory in variable_set_from()
Added variable_set()