lib/kadm5: _kadm5_s_init_hooks

prevent leak of configuration strings introduced by
f62b00e33c ("kadm5: improve
kadm5 hook logging (#397)")

Change-Id: I12c028241e6ee0175599b6edc6a334c6efb858d9
This commit is contained in:
Jeffrey Altman
2018-12-28 14:26:11 -05:00
parent b0a357429d
commit 51c2a5831a

View File

@@ -160,6 +160,7 @@ _kadm5_s_init_hooks(kadm5_server_context *ctx)
krb5_warnx(context, "Loaded kadm5 hook `%s' by vendor `%s' (API version %u)",
hook->name, hook->vendor, hook->version);
}
krb5_config_free_strings(hooks);
return 0;
#else
krb5_warnx(context, "kadm5 hooks configured, but platform "