If it leaves a puddle of water on the ground when parked for a while and works normally after that it probably just iced up and lost most cooling and airflow. No problem in that case. It should pop up a warning box on the dash if it is cooling the battery instead of you, so maybe not that. If the airflow was still normal, it could indeed be an A/C problem that would require a service visit.