mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
pgf_read should close the input file.
This commit is contained in:
@@ -29,6 +29,8 @@ pgf_read(const char* fpath,
|
||||
pgf_reader_done(rdr, pgf);
|
||||
|
||||
gu_pool_free(tmp_pool);
|
||||
|
||||
fclose(infile);
|
||||
return pgf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user