It's hard to create memory leaks in .NET, but I can do it when developing in SharePoint without even trying very hard. The SharePoint Dispose Check (SPDisposeCheck to its friends) analyzes your code ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results