mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* config/pa/xm-hppah.h (malloc): Really delete declaration
(MALLOC_INCOMPATIBLE): Really delete macro. * cli/cli-cmds.c (apropos_command): Use xcalloc.
This commit is contained in:
@@ -542,7 +542,7 @@ apropos_command (char *searchstr, int from_tty)
|
||||
regex_t pattern;
|
||||
char *pattern_fastmap;
|
||||
char errorbuffer[512];
|
||||
pattern_fastmap=calloc(256,sizeof(char));
|
||||
pattern_fastmap = xcalloc (256, sizeof (char));
|
||||
if (searchstr == NULL)
|
||||
error("REGEXP string is empty");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user