mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 08:32:50 -06:00
memory leak in parseval.c
This commit is contained in:
@@ -237,5 +237,7 @@ pgf_parseval(PgfConcr* concr, PgfExpr expr, PgfCId cat,
|
|||||||
*recall = ((double) state.matches)/((double) gu_buf_length(state.phrases));
|
*recall = ((double) state.matches)/((double) gu_buf_length(state.phrases));
|
||||||
*exact = pgf_expr_eq(expr, ep->expr) ? 1 : 0;
|
*exact = pgf_expr_eq(expr, ep->expr) ? 1 : 0;
|
||||||
|
|
||||||
|
gu_pool_free(pool);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user