pull up r25496 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 5 Dec 2011 23:43:17 +0000 (23:43 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 5 Dec 2011 23:43:17 +0000 (23:43 +0000)
commitce84a530f426e6c5f00abd3f171ec895921d6c18
treee46c553afce6d8bac626b6d3b563d87550fe1ae1
parent472ee8f4e6619ecdddf35819b58f3a22b42c65d3
pull up r25496 from trunk

 ------------------------------------------------------------------------
 r25496 | hartmans | 2011-12-02 13:52:12 -0500 (Fri, 02 Dec 2011) | 11 lines

 ticket: 7034
 subject: mk_cred: memory management
 target_version: 1.10
 tags: pullup

 Fix for mk_cred.c: calloc() not malloc()

 Avoid calling free() in cleanup on uninitialized sub-ptrs if error occurs.

Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7034
version_fixed: 1.10
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-10@25519 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/mk_cred.c