{
as_warn (_(".stab%c: missing string"), what);
ignore_rest_of_line ();
- goto out;
+ goto out2;
}
/* FIXME: We should probably find some other temporary storage
for string, rather than leaking memory if someone else
This must be done before creating symbols below, which uses
the notes obstack. */
if (saved_string_obstack_end == obstack_next_free (¬es))
- obstack_free (¬es, string);
+ {
+ obstack_free (¬es, string);
+ saved_string_obstack_end = NULL;
+ }
/* At least for now, stabs in a special stab section are always
output as 12 byte blocks of information. */
out:
if (saved_string_obstack_end == obstack_next_free (¬es))
obstack_free (¬es, string);
+ out2:
subseg_set (saved_seg, saved_subseg);
}