Skip to content

Commit

Permalink
resolver: fix memleak in ni_resolver_info_free()
Browse files Browse the repository at this point in the history
  • Loading branch information
cfconrad committed Jun 1, 2023
1 parent 75f80bb commit 3777e93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resolver.c
Expand Up @@ -144,4 +144,5 @@ ni_resolver_info_free(ni_resolver_info_t *resolv)
ni_string_free(&resolv->default_domain);
ni_string_array_destroy(&resolv->dns_search);
ni_string_array_destroy(&resolv->dns_servers);
free(resolv);
}

0 comments on commit 3777e93

Please sign in to comment.