diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-13 23:02:08 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-13 23:02:08 +0000 |
commit | f5b73fbba3bdceaefcd4ab1cc7c6427cac362835 (patch) | |
tree | 78d8859d7d62e9f2c78bf106e021575faddc0990 /gdb/event-top.c | |
parent | b538c2345375bc023ee1da41213db86e267ddd1a (diff) | |
download | gdb-f5b73fbba3bdceaefcd4ab1cc7c6427cac362835.zip gdb-f5b73fbba3bdceaefcd4ab1cc7c6427cac362835.tar.gz gdb-f5b73fbba3bdceaefcd4ab1cc7c6427cac362835.tar.bz2 |
2007-08-13 Michael Snyder <msnyder@access-company.com>
* event-top.c (command_line_handler): Memory leak.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index b9124ec..37f2a1b 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -754,8 +754,8 @@ command_line_handler (char *rl) } strcpy (linebuffer, history_value); p = linebuffer + strlen (linebuffer); - xfree (history_value); } + xfree (history_value); } /* If we just got an empty line, and that is supposed |