diff options
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 0000444f3d0..a0af4b615a3 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -984,7 +984,7 @@ open_symbol_file_object (from_ttyp) return 0; } - make_cleanup ((make_cleanup_func) free, (void *) filename); + make_cleanup (free, filename); /* Have a pathname: read the symbol file. */ symbol_file_command (filename, *from_ttyp); |