This is a tool I have been looking forward to for some time, SPDisposeCheck will check your assemblies that use the SharePoint API enabling you to build better and more efficient code. It gives guidance and assistance on how to correctly dispose SharePoint objects.
The download is available from the following link: http://download.microsoft.com/download/B/4/D/B4D279A0-E159-40BF-A5E8-F49ABDBE95C7/SPDisposeCheck.msi
It can be run from the command line using the following syntax:
SPDisposeCheck <path to assemblies> -debug –xml <file>