]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor leak in krb5_get_fallback_host_realm() 791/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 14 Jun 2018 14:52:33 +0000 (10:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Fri, 15 Jun 2018 14:53:33 +0000 (10:53 -0400)
commit80ea4fe833c72e3be47509a3216eee726c5fdb26
treeb4155c8c2ed6f29feda57866ba79eba902bc4359
parent4ad376134b8d456392edbac7a7d351e6c7a7f0e7
Fix minor leak in krb5_get_fallback_host_realm()

In domain_fallback_realm(), if profile_get_integer() fails, uhost is
leaked.  Fix this bug by using the cleanup handler instead of
returning immediately.  Reported by Bean Zhang.

ticket: 8693
src/lib/krb5/os/hostrealm_domain.c