diff options
author | John Gilmore <gnu@cygnus> | 1992-03-29 23:26:47 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-03-29 23:26:47 +0000 |
commit | be772100b5002a9d942ebea6e597787ea878932a (patch) | |
tree | d5cf30ef76c85c6e4ee0fdf6824ea25df14fcf47 /gdb/command.c | |
parent | 3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db (diff) | |
download | gdb-be772100b5002a9d942ebea6e597787ea878932a.zip gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.gz gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.bz2 |
Lint
Diffstat (limited to 'gdb/command.c')
-rw-r--r-- | gdb/command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/command.c b/gdb/command.c index f39600e..f5e0cec 100644 --- a/gdb/command.c +++ b/gdb/command.c @@ -262,7 +262,7 @@ delete_cmd (name, list) while (*list && !strcmp ((*list)->name, name)) { p = (*list)->next; - free (*list); + free ((PTR)*list); *list = p; } @@ -272,7 +272,7 @@ delete_cmd (name, list) if (!strcmp (c->next->name, name)) { p = c->next->next; - free (c->next); + free ((PTR)c->next); c->next = p; } else @@ -415,7 +415,7 @@ print_doc_line (stream, str) if (p - str > line_size - 1) { line_size = p - str + 1; - free (line_buffer); + free ((PTR)line_buffer); line_buffer = (char *) xmalloc (line_size); } strncpy (line_buffer, str, p - str); @@ -921,7 +921,7 @@ complete_on_cmdlist (list, text) if (matches == 0) { - free (matchlist); + free ((PTR)matchlist); matchlist = 0; } else |