diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index ee60c9392e4..5082f39e4ab 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -839,7 +839,7 @@ symbol_file_command (args, from_tty) { nomem (0); } - cleanups = make_cleanup ((make_cleanup_func) freeargv, (char *) argv); + cleanups = make_cleanup_freeargv (argv); while (*argv != NULL) { if (STREQ (*argv, "-mapped")) |