From 687b326ed0ec67bd597c8e639e1f1e468622d26f Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 7 May 2013 08:30:32 +0000 Subject: bug fix in the management of memory pools in the statistical parser --- src/runtime/c/utils/pgf-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/c/utils') diff --git a/src/runtime/c/utils/pgf-parse.c b/src/runtime/c/utils/pgf-parse.c index 32f979ce0..a05d7988b 100644 --- a/src/runtime/c/utils/pgf-parse.c +++ b/src/runtime/c/utils/pgf-parse.c @@ -115,7 +115,7 @@ int main(int argc, char* argv[]) { // Begin parsing a sentence of the specified category PgfParseState* state = - pgf_parser_init_state(concr, cat, 0, ppool); + pgf_parser_init_state(concr, cat, 0, ppool, ppool); if (state == NULL) { fprintf(stderr, "Couldn't begin parsing\n"); status = EXIT_FAILURE; -- cgit v1.2.3