This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] (take two): ar.c (map_over_members): Plug memory leak.


Michael Snyder <msnyder@vmware.com> writes:

> @@ -213,11 +213,13 @@ map_over_members (bfd *arch, void (*func
>  	  else if (bfd_is_thin_archive (arch))
>  	    {
>  	      /* Thin archives store full pathnames.  Need to normalize.  */
> +	      free (filename);

Double free?

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]