mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-16 08:19:31 -06:00
pgf_reader_done should do nothing if the reading has failed
This commit is contained in:
@@ -1263,5 +1263,8 @@ pgf_new_reader(GuIn* in, GuPool* opool, GuPool* tmp_pool, GuExn* err)
|
||||
void
|
||||
pgf_reader_done(PgfReader* rdr, PgfPGF* pgf)
|
||||
{
|
||||
if (pgf == NULL)
|
||||
return;
|
||||
|
||||
pgf_jit_done(rdr->jit_state, &pgf->abstract);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user