This has absolutely nothing to do with the freedom of speech. It is related to breaking the promise (made when joining any company as an employee) not to divulge confidential information. This is a restriction on the freedom of speech that one knowingly agrees to when joining the company.
If I knowingly posted sensitive internal discussions from my employer I would be kicked out. Or worse: if I worked in a hospital and shared some sensitive pictures I might be hit with heavy fines or spend time behind bars. My 2c.