bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-readline] [RFC/readline] bind.c, rl_function_dumper, Free allocated


From: Michael Snyder
Subject: [Bug-readline] [RFC/readline] bind.c, rl_function_dumper, Free allocated memory.
Date: Thu, 03 Mar 2011 14:38:00 -0800
User-agent: Thunderbird 2.0.0.24 (X11/20101201)

OK?

2011-03-03  Michael Snyder  <address@hidden>

        * 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]