[RFA 05/10] Avoid manual resource management in py-framefilter.c

Phil Muldoon pmuldoon@redhat.com
Fri Apr 28 14:53:00 GMT 2017


On 25/04/17 20:41, Tom Tromey wrote:
> This patch removes the last bit of manual resource management from
> py-framefilter.c.  This will be useful in the next patch.
> 
> ChangeLog
> 2017-04-25  Tom Tromey  <tom@tromey.com>
> 
> 	* python/py-framefilter.c (enumerate_args): Use
> 	gdb::unique_xmalloc_ptr.

LGTM (and much cleaner). Thanks for doing this and the original automated resource management and reference counting from previous patches.

Cheers

Phil



More information about the Gdb-patches mailing list