To set a Moshling free, you first need to catch a new one. When you do, the game will ask which Moshling you'd like to release, and you can choose to let one go. Keep in mind you'll either need to be a member or wait until you've collected 40 Moshlings before this option becomes available.