Close file when we've finished parsing it.

This commit is contained in:
Chris Young 2012-11-11 11:48:42 +00:00
parent ce640e59fd
commit 7df658618c
1 changed files with 1 additions and 0 deletions

View File

@ -301,6 +301,7 @@ nserror libdom_parse_file(const char *filename, const char *encoding, dom_docume
}
dom_hubbub_parser_destroy(parser);
fclose(fp);
*doc = document;
return NSERROR_OK;