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/values.c | |
parent | 3414e4eb38123381ceb0a04ae0fd7fbb3de7e2db (diff) | |
download | fsf-binutils-gdb-be772100b5002a9d942ebea6e597787ea878932a.zip fsf-binutils-gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.gz fsf-binutils-gdb-be772100b5002a9d942ebea6e597787ea878932a.tar.bz2 |
Lint
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/values.c b/gdb/values.c index 3dc1acc..998c42e 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -312,9 +312,9 @@ clear_value_history () { for (i = 0; i < VALUE_HISTORY_CHUNK; i++) if (val = value_history_chain->values[i]) - free (val); + free ((PTR)val); next = value_history_chain->next; - free (value_history_chain); + free ((PTR)value_history_chain); value_history_chain = next; } value_history_count = 0; @@ -450,7 +450,7 @@ set_internalvar (var, val) SET_TRAPPED_INTERNALVAR (var, val, 0, 0, 0); #endif - free (var->value); + free ((PTR)var->value); var->value = value_copy (val); release_value (var->value); } @@ -474,9 +474,9 @@ clear_internalvars () { var = internalvars; internalvars = var->next; - free (var->name); - free (var->value); - free (var); + free ((PTR)var->name); + free ((PTR)var->value); + free ((PTR)var); } } |