mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().
Also changed Copyright to include 2001.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user