Talk:Unreleased Resource

De OWASP
Saltar a: navegación, buscar

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.