This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix coff_start_symtab resource leak found by Coverity
- From: Tom Tromey <tom at tromey dot com>
- To: Gary Benson <gbenson at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 22 Feb 2019 10:04:10 -0700
- Subject: Re: [PATCH] Fix coff_start_symtab resource leak found by Coverity
- References: <1550848393-2743-1-git-send-email-gbenson@redhat.com>
>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
Gary> Hi all,
Gary> This commit fixes a resource leak found by Coverity, where
Gary> coff_start_symtab performs an xstrdup that is now performed
Gary> within start_symtab by buildsym_compunit::buildsym_compunit.
Gary> Built and regtested on RHEL 7.6 x86_64.
Gary> Ok to commit?
Yes, thank you.
Tom