According to fire officials, there was a potential for an explosion.