This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 05/10] Avoid manual resource management in py-framefilter.c
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 28 Apr 2017 15:53:41 +0100
- Subject: Re: [RFA 05/10] Avoid manual resource management in py-framefilter.c
- Authentication-results: sourceware.org; auth=none
- References: <20170425194113.17862-1-tom@tromey.com> <20170425194113.17862-6-tom@tromey.com>
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