aboutsummaryrefslogtreecommitdiff
path: root/contrib/binutils
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2008-01-29 16:12:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2008-01-29 16:12:06 +0000
commitfcc5f7da42664aac41e975e99de9aba4e1807a59 (patch)
tree5abfe805a23b18d1a8a141a821be2c2d06ef114a /contrib/binutils
parent6ceb40baa9f98ff9d0b48a1a019013883a2ee821 (diff)
parentac1a00f2ebd2d3d0a8fe7437da48a28d55684f9c (diff)
downloadsrc-fcc5f7da42664aac41e975e99de9aba4e1807a59.tar.gz
src-fcc5f7da42664aac41e975e99de9aba4e1807a59.zip
This commit was generated by cvs2svn to compensate for changes in r175790,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=175791
Diffstat (limited to 'contrib/binutils')
-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 19f191ed8b8b..bb543fa0c2fb 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. */