#vulnerable code 
                                @Override
    protected void startJetty() {
        ApplicationContext rootContext = createRootApplicationContext();

        HandlerList handlerList = findHandlerList();

        SessionManager sessionManager = findSessionManager(handlerList);

        addHandlers(handlerList, sessionManager, rootContext);

        addFilters();

        super.startJetty();
    } 
                            #location 9 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Override
    protected void startJetty() {
        rootContext = createRootApplicationContext();

        HandlerList handlerList = findHandlerList();

        SessionManager sessionManager = findSessionManager(handlerList);

        addHandlers(handlerList, sessionManager, rootContext);

        addFilters();

        super.startJetty();
    }