Talk:Unreleased Resource

From OWASP
Revision as of 10:46, 5 January 2009 by Arjanl (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

an even more vicious example for java is the following: { Runtime rt = Runtime.getRuntime(); Process p = rt.exec("ls"); }

This implicitely creates three opened streams (input, output and error) which should be closed.