Californians who see an animal trapped in a hot car can now break a window to set them free without fear of prosecution under a bill signed over the weekend by Gov. Jerry Brown.