#vulnerable code 
                                @Test
    public void testParse_Integer_Negative() {
        BEParser parser = new BEParser("i-1e");
        assertEquals(BEType.INTEGER, parser.readType());
        assertEquals(BigInteger.ONE.negate(), parser.readInteger());
    } 
                            #location 3 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void testParse_Integer_Negative() {
        BEParser parser = new BEParser("i-1e".getBytes());
        assertEquals(BEType.INTEGER, parser.readType());
        assertEquals(BigInteger.ONE.negate(), parser.readInteger());
    }