aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorJohn R. Moore <jmoore@redhat.com>2001-02-02 19:37:48 +0000
committerJohn R. Moore <jmoore@redhat.com>2001-02-02 19:37:48 +0000
commit2b5436af18f524fe06dc946353b455c2e7179669 (patch)
tree0d5fab1d7eead53265f36ee8b457f702ed238db3 /gdb/cli
parent824670030be8c11c14f5d701eb2da19bd177f87f (diff)
downloadgdb-2b5436af18f524fe06dc946353b455c2e7179669.zip
gdb-2b5436af18f524fe06dc946353b455c2e7179669.tar.gz
gdb-2b5436af18f524fe06dc946353b455c2e7179669.tar.bz2
* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
Also changed Copyright to include 2001.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index edf9b4d..4cc4aa3 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -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);
}
static void