* ar.c (write_archive): Plug memory leak.

This commit is contained in:
Nick Clifton 2011-03-25 17:18:54 +00:00
parent a1bc0327a3
commit 8e4850a9e3
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
* strings.c (print_strings): Plug memory leak.
* ar.c (move_members): Plug memory leak.
(delete_members): Plug memory leak.
(write_archive): Plug memory leak.
2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>

View File

@ -1069,6 +1069,7 @@ write_archive (bfd *iarch)
if (smart_rename (new_name, old_name, 0) != 0)
xexit (1);
free (old_name);
}
/* Return a pointer to the pointer to the entry which should be rplacd'd