From Andrew Cagney <cagney@b1.cygnus.com>:
* symfile.c (add_symbol_file_command): Always initialize
my_cleanup using a NULL cleanup.
+2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ From Andrew Cagney <cagney@b1.cygnus.com>:
+ * symfile.c (add_symbol_file_command): Always initialize
+ my_cleanup using a NULL cleanup.
+
2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
* demangle.c (demangling_style_names): New variable.
} sect_opts[SECT_OFF_MAX];
struct section_addr_info section_addrs;
- struct cleanup *my_cleanups;
+ struct cleanup *my_cleanups = make_cleanup (null_cleanup, NULL);
dont_repeat ();
{
/* The first argument is the file name. */
filename = tilde_expand (arg);
- my_cleanups = make_cleanup (xfree, filename);
+ make_cleanup (xfree, filename);
}
else
if (argcnt == 1)