From 0d70f41b681cdefc33b28cf2e6745daaa49d7d25 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Sun, 17 Jun 2001 15:16:12 +0000 Subject: [PATCH] 2001-06-17 Fernando Nasser From 2001-06-15 Eirik Fuller * cli/cli-script.c (free_command_lines): Reset list pointer. --- gdb/ChangeLog | 5 +++++ gdb/cli/cli-script.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcd919cbb6b..ae1f5e160e8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-06-17 Fernando Nasser + + From 2001-06-15 Eirik Fuller + * cli/cli-script.c (free_command_lines): Reset list pointer. + 2001-06-16 Andrew Cagney * arch-utils.c (init_frame_pc_default): New function diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index d4a9def73f8..69fc4fb31ae 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 -- 2.34.1