mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-30 14:52:51 -06:00
fix the error handling in the Java binding
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user