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: RFC: missing do_cleanups call in dwarf2_frame_cache


On 08/02/2012 05:08 PM, Tom Tromey wrote:
> While debugging a different problem, I found a spot in
> dwarf2_frame_cache that fails to call do_cleanups before returning.  The
> usual rule is that ordinary functions should not leave any dangling
> cleanups.
> 
> Built and regtested on x86-64 Fedora 16.
> 
> Tom
> 
> 	* dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
> 	return.

Whoops.  Ok, of course.

-- 
Pedro Alves


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