pull up r25384 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 20 Oct 2011 19:27:43 +0000 (19:27 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 20 Oct 2011 19:27:43 +0000 (19:27 +0000)
commiteaeb314ab93fca60f7615265204ec71c68696a7b
treedf078377ff71326b6631d8ac0c8161bed061a490
parentfd62ae86e4d400ea84284e1f275a10078b52175e
pull up r25384 from trunk

 ------------------------------------------------------------------------
 r25384 | ghudson | 2011-10-19 23:45:12 -0400 (Wed, 19 Oct 2011) | 12 lines

 ticket: 6987
 subject: Fix krb5_cc_set_config
 target_version: 1.10
 tags: pullup

 krb5_cc_set_config has been non-functional since r24753 on cache types
 which don't support removal of credential entries.  Fix it by only
 calling krb5_cc_remove_cred if data is NULL, since krb5_cc_store_cred
 will do it anyway in the positive case.

 Also fix an old memory leak in an uncommon error case.

ticket: 6987
version_fixed: 1.10
status: resolved

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