//Resource leak: 'Object' is never closed Type Object = new Type(); Object.doSomething(); Object.close() //This is to ensure that the object is clossed to prevent leak