Actually allocate and free the GValue.