2001-06-17 Fernando Nasser <fnasser@redhat.com>
authorFernando Nasser <fnasser@redhat.com>
Sun, 17 Jun 2001 15:16:12 +0000 (15:16 +0000)
committerFernando Nasser <fnasser@redhat.com>
Sun, 17 Jun 2001 15:16:12 +0000 (15:16 +0000)
From 2001-06-15  Eirik Fuller  <eirik@hackrat.com>
* cli/cli-script.c (free_command_lines): Reset list pointer.

gdb/ChangeLog
gdb/cli/cli-script.c

index bcd919cbb6b7a875f26422a160831477356a97e0..ae1f5e160e8e56af068a7231a6a437f86f3b2613 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2001-06-16  Andrew Cagney  <ac131313@redhat.com>
 
        * arch-utils.c (init_frame_pc_default): New function
index d4a9def73f87a9de1584c5808fe05637ee05977d..69fc4fb31aefdbaf7ac7212693be611d0acc37ad 100644 (file)
@@ -1028,6 +1028,7 @@ free_command_lines (struct command_line **lptr)
       xfree (l);
       l = next;
     }
+  *lptr = NULL;
 }
 
 static void