How the game actually end for Carcassonne?
Yes, depending on how many players there are and what expansions are being played, the game will sometimes end with one or more players having played one tile less.

Furthermore, some tiles can become discarded. At times, early on in the game, a four sided city tile has no where to go and thus has to be discarded; the player draws again, and upsets the tile distribution.

Another instance is when playing the Traders and Builders expansion. The builder allows players to draw up to two tiles per turn, and thus disturb tile distribution.