#vulnerable code 
                                public Map<String, String> getprop() throws IOException, JadbException {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(device.executeShell("getprop")));
        return parseProp(bufferedReader);
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                public Map<String, String> getprop() throws IOException, JadbException {
        BufferedReader bufferedReader = null;
        try {
            bufferedReader = new BufferedReader(new InputStreamReader(device.executeShell("getprop")));
            return parseProp(bufferedReader);
        } finally {
            if (bufferedReader != null) {
                bufferedReader.close();
            }
        }
    }