From: Gary Benson <gbenson@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] Fix memory leak in solib-svr4.c
Date: Tue, 14 Aug 2012 16:17:00 -0000 [thread overview]
Message-ID: <20120814161713.GF19388@redhat.com> (raw)
In-Reply-To: <87r4r9zetc.fsf@fleche.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
Tom Tromey wrote:
> >>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:
>
> Gary> 2012-08-14 Gary Benson <gbenson@redhat.com>
> Gary> * solib-svr4.c (svr4_free_library_list): Use free_so.
>
> Ok. Thanks!
Committed.
Thanks,
Gary
--
http://gbenson.net/
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 992 bytes --]
Index: gdb/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.14582
retrieving revision 1.14583
diff -u -r1.14582 -r1.14583
--- gdb/ChangeLog 13 Aug 2012 15:44:00 -0000 1.14582
+++ gdb/ChangeLog 14 Aug 2012 16:16:03 -0000 1.14583
@@ -1,3 +1,7 @@
+2012-08-14 Gary Benson <gbenson@redhat.com>
+
+ * solib-svr4.c (svr4_free_library_list): Use free_so.
+
2012-08-13 Mike Frysinger <vapier@gentoo.org>
* .gitignore: Add go-exp.c.
Index: gdb/solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -r1.165 -r1.166
--- gdb/solib-svr4.c 23 Jul 2012 15:25:12 -0000 1.165
+++ gdb/solib-svr4.c 14 Aug 2012 16:16:04 -0000 1.166
@@ -980,7 +980,7 @@
{
struct so_list *next = list->next;
- svr4_free_so (list);
+ free_so (list);
list = next;
}
}
prev parent reply other threads:[~2012-08-14 16:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 12:45 Gary Benson
2012-08-14 15:14 ` Tom Tromey
2012-08-14 16:17 ` Gary Benson [this message]
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=20120814161713.GF19388@redhat.com \
--to=gbenson@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.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