add a missed g_free()