PR25362, memory leak in nm
PR 25362 * nm.c (display_rel_file): Free dyn_syms.
This commit is contained in:
parent
4f18d7423c
commit
805f38bc55
@ -1,3 +1,8 @@
|
||||
2020-01-13 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 25362
|
||||
* nm.c (display_rel_file): Free dyn_syms.
|
||||
|
||||
2020-01-09 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 25220
|
||||
|
@ -1171,6 +1171,8 @@ display_rel_file (bfd *abfd, bfd *archive_bfd)
|
||||
*symp = 0;
|
||||
symcount += synth_count;
|
||||
}
|
||||
if (!dynamic && dyn_syms != NULL)
|
||||
free (dyn_syms);
|
||||
}
|
||||
|
||||
/* lto_slim_object is set to false when a bfd is loaded with a compiler
|
||||
|
Loading…
x
Reference in New Issue
Block a user