Close file when we've finished parsing it.
This commit is contained in:
parent
ce640e59fd
commit
7df658618c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue