fix cleanup code in allocating preauth info
authorKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 00:05:47 +0000 (00:05 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 6 Aug 2008 00:05:47 +0000 (00:05 +0000)
commit34f627f9858cd944d2f1f04eac15bae011d55fe0
treeb03de3045de7877ceb382e1ea2090b64410fd006
parent9b008de9287d1b8bb5f9a69fe4e26352e1477735
fix cleanup code in allocating preauth info

After an allocation failure, free up the previously allocated array
elements by counting back down to zero, not continuing to count up
until we hit zero.

ticket: new
target_version: 1.6.4
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20608 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c