fixing leak in ft_putnbr