forked from GitHub/gf-core
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