kdc: hprop propagate_database do not leak 'server'
Change-Id: I0b2b6343134603ecffb6cd827d0828463378cff4
This commit is contained in:
@@ -324,6 +324,7 @@ propagate_database (krb5_context context, int type,
|
||||
if (ret) {
|
||||
failed++;
|
||||
krb5_warn(context, ret, "unable to obtain default or set realm");
|
||||
krb5_free_principal(context, server);
|
||||
close(fd);
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user