diff options
Diffstat (limited to 'gcc/java/gjavah.c')
-rw-r--r-- | gcc/java/gjavah.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index d152b37..f4f2c2b 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -1137,11 +1137,11 @@ throwable_p (signature) (htab_del) free); /* Make sure the root classes show up in the tables. */ - str = strdup ("java.lang.Throwable"); + str = xstrdup ("java.lang.Throwable"); slot = htab_find_slot (throw_hash, str, INSERT); *slot = (PTR) str; - str = strdup ("java.lang.Object"); + str = xstrdup ("java.lang.Object"); slot = htab_find_slot (non_throw_hash, str, INSERT); *slot = (PTR) str; |