pull up r21912 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 19 Feb 2009 00:37:02 +0000 (00:37 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 19 Feb 2009 00:37:02 +0000 (00:37 +0000)
commit3a0a061bdf1b7cc4af93456451713524ee9ea130
treea11fae90ecfbda61afc972b3ea626585e19e537d
parent161882a7617a6d06953e3fff1bb72765f6832300
pull up r21912 from trunk

 ------------------------------------------------------------------------
 r21912 | ghudson | 2009-02-06 15:43:44 -0500 (Fri, 06 Feb 2009) | 10 lines
 Changed paths:
    M /trunk/src/lib/krb5/krb/walk_rtree.c

 ticket: 6376
 subject: Memory handling fixes in walk_rtree
 tags: pullup
 target_version: 1.7

 In walk_rtree's rtree_hier_tree, don't leak the result of
 rtree_hier_realms.  In rtree_hier_realms, avoid freeing one too many
 krb5_data contents on allocation failure, and use the recommend
 pattern to ensure well-defined output parameter values.

 ------------------------------------------------------------------------

ticket: 6376
version_fixed: 1.7
status: resolved

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