krb5_rd_rep leaks subkeys
authorTom Yu <tlyu@mit.edu>
Fri, 13 Jun 2003 21:45:30 +0000 (21:45 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 13 Jun 2003 21:45:30 +0000 (21:45 +0000)
commitfe1a9f94914b6a4c9c56e4f0770e210183530e3f
tree56d883945886cef67b54759a53b5b8362ee4f994
parent56d733f6d69e145693258b5e10a02554e4e68f77
krb5_rd_rep leaks subkeys

* rd_rep.c (krb5_rd_rep): Free subkeys before replacing them, if
needed.  This avoids a memory leak.

ticket: new
target_version: 1.3
component: krb5-libs
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15620 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/rd_rep.c