Do you remember my post about problems with BreakRoleInheritance  in SharePoint 2007 (here)? There were errors messages that I didn’t dispose SPSite and SPWeb objects after usage. Partially I was able to solve it with some changes in my code, but there’re still entries in log files. For my next project I use SharePoint 2010, without any patches. I use again this code without any direct Dispose method, just put my code into “USING” statement and It works. There’s no any log information about problems with memory leaks during executing such code. Amazing Uśmiech

[adblockingdetector id=”5770e6ed85560″]