]> git.ipfire.org Git - thirdparty/krb5.git/commit
Clean up context after failed open in libkdb5 1198/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 23 Jun 2021 20:57:39 +0000 (16:57 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 28 Jun 2021 15:51:35 +0000 (11:51 -0400)
commit849b7056e703bd3724d909263769ce190db59acc
treeb5fa6070b1005a4f7474621b837c37c62195dd5f
parent552d7b7626450f963b8e37345c472420c842402c
Clean up context after failed open in libkdb5

If krb5_db_open() or krb5_db_create() fails, release the dal_handle,
as the caller is unlikely to call krb5_db_close() after a failure.
src/lib/kdb/kdb5.c