This is hidden city ticketing. It's debated to death here. Some say its violating the contract you entered into, some say its like getting a case of coke for less than a 6 pack and throwing away 18 of them.
the usual points are don't make a habit of it, don't check bags, you'll be fine.