Some corporations have a Bring Your Own Device (BYOD) policy, and some may allow their employees to take their laptops home for usage. What if an employee takes the code and develops something outside of their employment scope?
An organization may be able to file a patent infringement lawsuit if their code is used, but what if a malicious employees steals non patented or patent pending code and sell it to someone else? How do the organizations handle these cases?
I agree with the copyright answer. I will search it further on the law Stack exchange site as suggested in the answer and the comments. This is different from the other questionthe other question because there they OP is asking about ways to protect the source code. I am interested in impact of code theft and ways to handle it.