Rewrite set_results() in prof_get.c
authorGreg Hudson <ghudson@mit.edu>
Mon, 25 Jul 2011 15:54:33 +0000 (15:54 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 25 Jul 2011 15:54:33 +0000 (15:54 +0000)
commitdcf8c15bfcc82475c36162d6fb0e9d829dd19dda
tree018e1a4bda92079f0439a745fc73d496257abad2
parent91d18671def148e2c4e518fb8927e6222cabaa4a
Rewrite set_results() in prof_get.c

The new implementation should be more friendly to static analyzers.
Coverity was getting confused into thinking that profile_iterator()
had the effect of returning a freed name pointer.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25045 dc483132-0cff-0310-8789-dd5450dbe970
src/util/profile/prof_get.c