*Fix potential segfault in ft_get_next