fix the error handling in the Java binding

This commit is contained in:
kr.angelov
2013-08-28 08:51:53 +00:00
parent 0efde1e2b0
commit de7fbd22e7
6 changed files with 43 additions and 15 deletions

View File

@@ -226,6 +226,7 @@ Java_org_grammaticalframework_pgf_Parser_parse
gu_pool_free(pool);
gu_pool_free(out_pool);
return NULL;
}
jclass expiter_class = (*env)->FindClass(env, "org/grammaticalframework/pgf/ExprIterator");