Holding the fish in the net is fine. It's critical that you don't squeeze the belly though. In general, it's better to hold the fish from the top behind the head. There's more muscle and bone here and it'll give you a better grip while protecting its delicate organs.
My passion for catching fish is eclipsed only by the fish's passion not to be caught.