summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-01-29 16:12:06 +0000
committerobrien <obrien@FreeBSD.org>2008-01-29 16:12:06 +0000
commit3e4ae1b3a53c9dd2e67fcd61da177323837cdb02 (patch)
tree5abfe805a23b18d1a8a141a821be2c2d06ef114a
parent47f437809488abc84ed0016aa51deeaffb3697a8 (diff)
parent2e6f1b26dbf52b25a354bb58ba058fb297b526ea (diff)
downloadFreeBSD-src-3e4ae1b3a53c9dd2e67fcd61da177323837cdb02.zip
FreeBSD-src-3e4ae1b3a53c9dd2e67fcd61da177323837cdb02.tar.gz
This commit was generated by cvs2svn to compensate for changes in r175790,
which included commits to RCS files with non-trunk default branches.
-rw-r--r--contrib/binutils/libiberty/cp-demangle.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/binutils/libiberty/cp-demangle.c b/contrib/binutils/libiberty/cp-demangle.c
index 19f191e..bb543fa 100644
--- a/contrib/binutils/libiberty/cp-demangle.c
+++ b/contrib/binutils/libiberty/cp-demangle.c
@@ -2396,6 +2396,8 @@ d_expr_primary (di)
const char *s;
type = cplus_demangle_type (di);
+ if (type == NULL)
+ return NULL;
/* If we have a type we know how to print, we aren't going to
print the type name itself. */
OpenPOWER on IntegriCloud