summaryrefslogtreecommitdiffstats
path: root/src/searchindex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/searchindex.cpp')
-rw-r--r--src/searchindex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index a550eb1..27674c2 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -444,7 +444,7 @@ SearchIndexExternal::~SearchIndexExternal()
static QCString definitionToName(Definition *ctx)
{
- if (ctx->definitionType()==Definition::TypeMember)
+ if (ctx && ctx->definitionType()==Definition::TypeMember)
{
MemberDef *md = (MemberDef*)ctx;
if (md->isFunction())