This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [patch/Darwin] Fix cleanup leak in machoread.c:macho_symfile_read


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> This patch prevents this by using one single cleanup queue for
Joel> the entire function, rather than having additional separate
Joel> cleanup queues (Eg: for the handling of the minimal symbols),
Joel> thus preventing the premature free'ing of the minimal_symbols
Joel> array.

Joel> Secondly, this patch takes this opportunity for avoiding the use
Joel> of the oso_vector global, thus making it simpler to track its
Joel> lifetime.

Thanks for doing this, Joel.

Tom


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