Skip to content
Snippets Groups Projects
Commit bc4e73c8 authored by Jan Kadlec's avatar Jan Kadlec
Browse files

Fixed reachable leaks.

Refs #818 @30m
parent a26d64cf
No related branches found
No related tags found
No related merge requests found
......@@ -1820,6 +1820,7 @@ int zone_read(const char *name, const char *zonefile, const char *outfile,
debug_zp("zone parsed\n");
uint found_orphans;
found_orphans = find_rrsets_orphans(parser->current_zone,
......
......@@ -56,6 +56,8 @@ struct lex_data {
#define DEFAULT_TTL 3600
int yylex_destroy();
/*! \todo Implement ZoneDB. */
typedef void namedb_type;
......
......@@ -1449,6 +1449,7 @@ void zparser_free()
dnslib_dname_free(&(parser->root_domain));
free(parser->temporary_items);
dnslib_rrset_free(&(parser->current_rrset));
yylex_destroy();
free(parser);
}
......
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