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: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Tue, 27 Jun 2017 17:43:03 +0100
- Subject: Re: [RFA 05/10] Avoid manual resource management in py-framefilter.c
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AC2A87CE12
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AC2A87CE12
- References: <20170425194113.17862-1-tom@tromey.com> <20170425194113.17862-6-tom@tromey.com>
On 04/25/2017 08:41 PM, 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.
OK.
Thanks,
Pedro Alves