echeckingdll\TestingDisposeinSharePoint.dll
Note: This tool may report
errors which are not actually memory leaks, otherwise
known as false positives.
Further investigation should
be done to identify and correct real errors.
It is designed to assist
developers in making sure their code adheres to best pr
actices for memory allocation
when using SharePoint APIs.
Please see the following for
more information:
http://blogs.msdn.com/rogerla/
http://msdn2.microsoft.com/en-us/library/aa973248.aspx
http://msdn2.microsoft.com/en-us/library/bb687949.aspx
----------------------------------------------------------
ID: SPDisposeCheckID_110
Module:
TestingDisposeinSharePoint.dll
Method:
TestingDisposeinSharePoint.Class1.SnapOfContext
Statement: local0 := new
Microsoft.SharePoint.SPSite("http://c849uss:9722/Sites/
Test1")
Notes: Disposable type not
disposed: Microsoft.SharePoint.SPSite
***This may be a
false positive depending on how the type was created o
r if it is disposed outside
the current scope
More Information: http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-20
07-and-wss-3-0-dispose-patterns-by-example.aspx#SPDisposeCheckID_110
----------------------------------------------------------
ID: SPDisposeCheckID_120
Module:
TestingDisposeinSharePoint.dll
Method:
TestingDisposeinSharePoint.Class1.SnapOfContext
Statement: local1 := local0.{Microsoft.SharePoint.SPSite}OpenWeb()
Notes: Disposable type not
disposed: Microsoft.SharePoint.SPWeb
***This may be a
false positive depending on how the type was created o
r if it is disposed outside
the current scope
More Information: http://blogs.msdn.com/rogerla/archive/2008/02/12/sharepoint-20
07-and-wss-3-0-dispose-patterns-by-example.aspx#SPDisposeCheckID_120
----------------------------------------------------------
Total Found: 2
----------------------------------------------------------
Modules Checked: 1
----------------------------------------------------------
TestingDisposeinSharePoint.dll
----------------------------------------------------------
Modules Ignored: 0
----------------------------------------------------------
----------------------------------------------------------