remove unneeded and crash-causing g_free()