The function make_relative_prefix_1 does not properly free locally allocated memory when it returns early.
Free the memory associated with the variables full_programe, bin_dirs, prog_dirs, and prefix_dirs when the
function returns early.
Differential D9691
Fix a memory leak in libiberty trix_juniper.net on Feb 20 2017, 5:06 PM. Authored by Tags None Referenced Files
Subscribers
Details The function make_relative_prefix_1 does not properly free locally allocated memory when it returns early. Free the memory associated with the variables full_programe, bin_dirs, prog_dirs, and prefix_dirs when the Run clang's static analyzer, scan-build, before to reproduce the problem; run scan-build after to show problem is resolved.
Diff Detail
Event Timeline
|