You can use `g_value_set_static_string`, which won't strdup like this does. In that case, there's no real need to free it, but you can add `g_value_unset(&fromValue);` to be certain.