Skip to content

Commit

Permalink
Bug 776791 - [1.8.13 Regression] Segfault building the breathe docs
Browse files Browse the repository at this point in the history
Protected against NULL pointer of variable al
  • Loading branch information
albert-github committed Jan 4, 2017
1 parent 5b36add commit 0f02761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmlgen.cpp
Expand Up @@ -620,7 +620,7 @@ static void generateXMLForMember(MemberDef *md,FTextStream &ti,FTextStream &t,De
if (md->isInline()) t << "yes"; else t << "no";
t << "\"";

if (al->refQualifier!=RefQualifierNone)
if (al!=0 && al->refQualifier!=RefQualifierNone)
{
t << " refqual=\"";
if (al->refQualifier==RefQualifierLValue) t << "lvalue"; else t << "rvalue";
Expand Down

0 comments on commit 0f02761

Please sign in to comment.