merge from gcc

This commit is contained in:
DJ Delorie 2002-03-30 06:17:57 +00:00
parent 03c7bc89c0
commit f2160d2bd1
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
if it is NULL.
2002-03-27 DJ Delorie <dj@redhat.com>
* hex.c: Add documentation.

View file

@ -3846,7 +3846,11 @@ java_demangle_v3 (mangled)
free (cplus_demangled);
return_value = dyn_string_release (demangled);
if (demangled)
return_value = dyn_string_release (demangled);
else
return_value = NULL;
return return_value;
}