* decl.c (cp_make_fname_decl): Free return value from
fname_as_string.
From-SVN: r82382
+2004-05-28 Aldy Hernandez <aldyh@redhat.com>
+
+ * decl.c (cp_make_fname_decl): Free return value from
+ fname_as_string.
+
2004-05-28 Mark Mitchell <mark@codesourcery.com>
PR c++/14668
tree init = cp_fname_init (name, &type);
tree decl = build_decl (VAR_DECL, id, type);
+ if (name)
+ free ((char *) name);
+
/* As we're using pushdecl_with_scope, we must set the context. */
DECL_CONTEXT (decl) = current_function_decl;
DECL_PRETTY_FUNCTION_P (decl) = type_dep;