pgf_read should close the input file.

This commit is contained in:
krasimir
2015-12-22 09:29:14 +00:00
parent 6bf691c3af
commit e584be964c

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;
}