[krbdev.mit.edu #8739] Memory leak in function main() in src/tests/threads/profread.c and src/tests/threads/gss-perf.c.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[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-2
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?
_______________________________________________
krb5-bugs mailing list
[hidden email]
https://mailman.mit.edu/mailman/listinfo/krb5-bugs