#vulnerable code 
                                @Test
    public void rendersHomePage() throws Exception {
        final Farm farm = new PropsFarm(new FkFarm());
        final String uid = "yegor";
        new Awards(farm, uid).bootstrap().add(
            new FkProject(), 1, "gh:test/test#1", "reason"
        );
        new Agenda(farm, uid).bootstrap().add(
            new FkProject(), "gh:test/test#2", "QA"
        );
        MatcherAssert.assertThat(
            XhtmlMatchers.xhtml(new View(farm, "/u/Yegor256").html()),
            XhtmlMatchers.hasXPaths("//xhtml:body")
        );
    } 
                            #location 15 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void rendersHomePage() throws Exception {
        final Farm farm = FkFarm.props();
        final String uid = "yegor";
        new Awards(farm, uid).bootstrap().add(
            new FkProject(), 1, "gh:test/test#1", "reason"
        );
        new Agenda(farm, uid).bootstrap().add(
            new FkProject(), "gh:test/test#2", "QA"
        );
        MatcherAssert.assertThat(
            XhtmlMatchers.xhtml(new View(farm, "/u/Yegor256").html()),
            XhtmlMatchers.hasXPaths("//xhtml:body")
        );
    }