* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
authorJohn R. Moore <jmoore@redhat.com>
Fri, 2 Feb 2001 19:37:48 +0000 (19:37 +0000)
committerJohn R. Moore <jmoore@redhat.com>
Fri, 2 Feb 2001 19:37:48 +0000 (19:37 +0000)
Also changed Copyright to include 2001.

gdb/ChangeLog
gdb/cli/cli-cmds.c

index fe92a3a8f278310b34c6a05aa25a39a540658514..2df3d337b1204973aecbc6f4ad8280c64a255bc7 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-02  John Moore  <jmoore@redhat.com>
+
+        * cli/cli-cmds.c (apropos_command): Changed occurance of free() to 
+       xfree(). Also changed Copyright to include 2001.
+
 2001-02-02  J.T. Conklin  <jtc@redback.com>
 
        * monitor.c (#include "gdb_wait.h"): Removed.
index edf9b4d7cfe95f68be6835b9d491f23a9d7c976a..4cc4aa34156ff730f69f2a18810107dab66765ab 100644 (file)
@@ -1,5 +1,5 @@
 /* GDB CLI commands.
-   Copyright 2000 Free Software Foundation, Inc.
+   Copyright 2000, 2001 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -557,7 +557,7 @@ apropos_command (char *searchstr, int from_tty)
       regerror(regcomp(&pattern,searchstr,REG_ICASE),NULL,errorbuffer,512);
       error("Error in regular expression:%s",errorbuffer);
     }
-  free(pattern_fastmap);
+  xfree (pattern_fastmap);
 }
 \f
 static void