1 <p>This method may fail to clean up (close, dispose of) a stream, database object, or other resource requiring an
2 explicit cleanup operation.<br/>In general, if a method opens a stream or other resource, the method should use a try/finally block to ensure
3 that the stream or resource is cleaned up before the method returns.<p/>
4 <p>This bug pattern is essentially the same as the OS_OPEN_STREAM and ODR_OPEN_DATABASE_RESOURCE bug patterns, but is based on a different
5 (and hopefully better) static analysis technique. See Weimer and Necula, Finding and Preventing Run-Time Error Handling Mistakes, for a
6 description of the analysis technique. .</p>