diff options
author | Fernando Nasser <fnasser@redhat.com> | 2001-06-17 15:16:12 +0000 |
---|---|---|
committer | Fernando Nasser <fnasser@redhat.com> | 2001-06-17 15:16:12 +0000 |
commit | 0d70f41b681cdefc33b28cf2e6745daaa49d7d25 (patch) | |
tree | 3a6cc2906967db19b25e8dabbf1ad1ef7d22721f /gdb/cli | |
parent | cb51c4e04dec2baecf0a5c80e7f6597b6844699c (diff) | |
download | gdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.zip gdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.tar.gz gdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.tar.bz2 |
2001-06-17 Fernando Nasser <fnasser@redhat.com>
From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
* cli/cli-script.c (free_command_lines): Reset list pointer.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index d4a9def..69fc4fb 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1028,6 +1028,7 @@ free_command_lines (struct command_line **lptr) xfree (l); l = next; } + *lptr = NULL; } static void |