[krbdev.mit.edu #8739] Memory leak in function main() in src/tests/threads/profread.c and src/tests/threads/gss-perf.c.
Greg Hudson via RT
rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Sep 18 13:12:54 EDT 2018
tinfo is a static global variable in both test programs, so the memory
is still reachable at program exit; as such this isn't really a memory
leak.
Also, as these are test programs, it's only important to fix memory
leaks in them if they create false positives in static or dynamic
analysis tools which detect memory bugs. Was this issue discovered
using a tool, or through code inspection?
More information about the krb5-bugs
mailing list