From: Michael Snyder <msnyder@vmware.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>,
bug-readline@gnu.org
Subject: [RFC/readline] bind.c, rl_function_dumper, Free allocated memory.
Date: Thu, 03 Mar 2011 22:38:00 -0000 [thread overview]
Message-ID: <4D701848.7050506@vmware.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5 bytes --]
OK?
[-- Attachment #2: bind.txt --]
[-- Type: text/plain, Size: 521 bytes --]
2011-03-03 Michael Snyder <msnyder@vmware.com>
* bind.c (rl_function_dumper): Free allocated memory.
Index: bind.c
===================================================================
RCS file: /cvs/src/src/readline/bind.c,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 bind.c
--- bind.c 5 May 2006 18:26:12 -0000 1.8
+++ bind.c 3 Mar 2011 22:20:14 -0000
@@ -2068,6 +2068,7 @@ rl_function_dumper (print_readably)
}
}
}
+ free (names);
}
/* Print all of the current functions and their bindings to
next reply other threads:[~2011-03-03 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 22:38 Michael Snyder [this message]
2011-03-04 2:35 ` Tom Tromey
2011-03-04 16:12 ` [Bug-readline] " Chet Ramey
2011-03-04 18:13 ` Michael Snyder
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=4D701848.7050506@vmware.com \
--to=msnyder@vmware.com \
--cc=bug-readline@gnu.org \
--cc=gdb-patches@sourceware.org \
/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