]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix unlikely memory leak exporting lucid context
authorNeng Xue <xnsuda@yahoo.com>
Mon, 5 May 2014 23:42:02 +0000 (16:42 -0700)
committerGreg Hudson <ghudson@mit.edu>
Wed, 7 May 2014 18:30:52 +0000 (14:30 -0400)
commit0477f69ba67e7071cb3671f94c466ba99f15285e
tree7138deff1c66b8ca40d1274bcc205d9469164efb
parent7783054742ddd807f7b2f7157d6ed81b7fb614eb
Fix unlikely memory leak exporting lucid context

If the GSSAPI context has an unrecognized proto field (which should
never happen), free the context we allocated before returning EINVAL.

[ghudson@mit.edu: clarify commit message]
src/lib/gssapi/krb5/lucid_context.c