Changed rc_dfl_resolve to initlize the private data, instead of rc_initalize
authorTheodore Tso <tytso@mit.edu>
Fri, 29 Mar 1991 14:53:26 +0000 (14:53 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 29 Mar 1991 14:53:26 +0000 (14:53 +0000)
commitd54f7c390304abba83886234e2ee03d35b2f07b0
treea3a40cf9433750e204e49a399a8058fef6578309
parent64d420d4f1bad747b6e08a28d3ca3abb28681677
Changed rc_dfl_resolve to initlize the private data, instead of rc_initalize
or rc_recover.  This means that caller must call rc_close after
calling rc_dfl_resolve.  This change was required in order to prevent
a memory leak in rc_dfl_resolve, since it was doing some memory allocation
already; it now does all necessary memory allocation, and rc_close
frees all of the memory used by rc_dfl_resolve.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1972 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/rcache/rc_dfl.c