Download SPDisposeCheck from
http://code.msdn.microsoft.com/SPDisposeCheck
Path of SpDisposeCheck in system : "c:\Program Files\Microsoft\SharePoint Dispose Check\"
Run the following command against assembly :
c:\>Spdisposecheck "Path of Assembly
Best practice notes of SPDisposeCheck , refer below link:
http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx
Regards,
Shobha