From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: Alex Lindsay <alexlindsay239@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix memory leak in cp-support.c (cp_canonicalize_string)
Date: Wed, 09 Aug 2017 14:10:00 -0000 [thread overview]
Message-ID: <708316e9-712a-828e-7856-e6808d240cf2@redhat.com> (raw)
In-Reply-To: <868tiszwmb.fsf@gmail.com>
On 08/09/2017 02:41 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
> Patch is good to me.
>
>> - n = cp_comp_to_string (&newobj, 100);
>> + gdb::unique_xmalloc_ptr<char> n = cp_comp_to_string (&newobj, 100);
>
> Nit, it is too long.
Fixed and pushed, thanks.
Pedro Alves
next prev parent reply other threads:[~2017-08-09 14:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 20:18 Alex Lindsay
2017-08-09 11:40 ` Yao Qi
2017-08-09 12:09 ` Pedro Alves
2017-08-09 12:31 ` Pedro Alves
2017-08-09 13:27 ` Pedro Alves
2017-08-09 13:41 ` Yao Qi
2017-08-09 14:10 ` Pedro Alves [this message]
2017-08-09 13:24 ` Alex Lindsay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=708316e9-712a-828e-7856-e6808d240cf2@redhat.com \
--to=palves@redhat.com \
--cc=alexlindsay239@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=qiyaoltc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox