X-Git-Url: http://git.samba.org/?p=samba.git;a=blobdiff_plain;f=source4%2Fdns_server%2Fdlz_bind9.c;fp=source4%2Fdns_server%2Fdlz_bind9.c;h=9e4a3695866351fef3ca3ec6ad0342323f4c5cfe;hp=872eb3e0c1f48a854dd831a3af6928569c11aa6e;hb=5e1c7c084c85ea51f6843b95defee12ba6a8f0a0;hpb=24aa50170bb7824c753e6b56c112cec3db02d8af diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index 872eb3e0c1f..9e4a3695866 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -554,10 +554,12 @@ static isc_result_t parse_options(struct dlz_bind9_data *state, default: state->log(ISC_LOG_ERROR, "dlz_bind9: Invalid option %s: %s", poptBadOption(pc, 0), poptStrerror(opt)); + poptFreeContext(pc); return ISC_R_FAILURE; } } + poptFreeContext(pc); return ISC_R_SUCCESS; }