Skip to content
Snippets Groups Projects
Commit 060d5e20 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Add fclose file descriptor

Coverity scan #742131 (resource leak)
parent 291b58b6
No related branches found
No related tags found
No related merge requests found
......@@ -478,6 +478,7 @@ static int zone_open(const char *filename, uint32_t ttl, uint16_t rclass,
if (zp_get_in(scanner) == 0) {
return 0;
}
fclose(f);
}
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment