pgf_read should close the input file.

This commit is contained in:
krasimir
2015-12-22 09:29:14 +00:00
parent bef9d8c5fc
commit 028de0468b

View File

@@ -29,6 +29,8 @@ pgf_read(const char* fpath,
pgf_reader_done(rdr, pgf);
gu_pool_free(tmp_pool);
fclose(infile);
return pgf;
}