From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15527 invoked by alias); 3 Mar 2011 22:38:08 -0000 Received: (qmail 15512 invoked by uid 22791); 3 Mar 2011 22:38:07 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SHORT_BODY,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 22:38:01 +0000 Received: from mailhost4.vmware.com (mailhost4.vmware.com [10.16.67.124]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 66E402B00D; Thu, 3 Mar 2011 14:38:00 -0800 (PST) Received: from msnyder-server.eng.vmware.com (promd-2s-dhcp138.eng.vmware.com [10.20.124.138]) by mailhost4.vmware.com (Postfix) with ESMTP id 5F066C9FA1; Thu, 3 Mar 2011 14:38:00 -0800 (PST) Message-ID: <4D701848.7050506@vmware.com> Date: Thu, 03 Mar 2011 22:38:00 -0000 From: Michael Snyder User-Agent: Thunderbird 2.0.0.24 (X11/20101201) MIME-Version: 1.0 To: "gdb-patches@sourceware.org" , bug-readline@gnu.org Subject: [RFC/readline] bind.c, rl_function_dumper, Free allocated memory. Content-Type: multipart/mixed; boundary="------------080402020201080106060909" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00228.txt.bz2 This is a multi-part message in MIME format. --------------080402020201080106060909 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 5 OK? --------------080402020201080106060909 Content-Type: text/plain; name="bind.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bind.txt" Content-length: 521 2011-03-03 Michael Snyder * 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 --------------080402020201080106060909--