diff options
Diffstat (limited to 'binutils/ar.c')
-rw-r--r-- | binutils/ar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/ar.c b/binutils/ar.c index 25f3b3d..9de0d13 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -1197,6 +1197,7 @@ write_archive (bfd *iarch) if (smart_rename (new_name, old_name, 0) != 0) xexit (1); free (old_name); + free (new_name); } /* Return a pointer to the pointer to the entry which should be rplacd'd |