From 7ba27229b314057104aeab8f46a7247fbb20352e Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Mon, 6 May 2013 15:28:04 +0000 Subject: the statistical parser is now using two memory pools: one for parsing and one for the output trees. This means that the memory for parsing can be released as soon as the needed abstract trees are retrieved, while the trees themselves are retained in the separate output pool --- src/runtime/c/utils/pgf-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/c/utils/pgf-service.c') diff --git a/src/runtime/c/utils/pgf-service.c b/src/runtime/c/utils/pgf-service.c index 94070efee..33369b9f5 100644 --- a/src/runtime/c/utils/pgf-service.c +++ b/src/runtime/c/utils/pgf-service.c @@ -335,7 +335,7 @@ int main () pgf_new_simple_lexer(rdr, ppool); GuEnum* result = - pgf_parse(from_concr, cat, lexer, ppool); + pgf_parse(from_concr, cat, lexer, ppool, ppool); if (result == NULL) { FCGI_printf("Status: 500 Internal Server Error\r\n"); FCGI_printf("Content-type: text/plain\r\n" -- cgit v1.2.3