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. https://github.com/krb5/krb5/commit/4738573c9543f7d727c24a7eab4b2d29aea2c0fe Commit By: ghudson Revision: 21912 Changed Files: U trunk/src/lib/krb5/krb/walk_rtree.c