Permalink
Browse files

Bug 735483 - [PATCH] Fix a potential null pointer dereference in src/…

…searchindex.cpp
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Aug 30, 2014
1 parent 1e8a699 commit e21aaadb920775f431a27957542da80e39d0c947
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/searchindex.cpp
View
@@ -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())

0 comments on commit e21aaad

Please sign in to comment.