Permalink
Browse files

Bug 776791 - [1.8.13 Regression] Segfault building the breathe docs

Protected against NULL pointer of variable al
  • Loading branch information...
albert-github committed Jan 4, 2017
1 parent 5b36add commit 0f02761a158a5e9ddbd5801682482af8986dbc35
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/xmlgen.cpp
@@ -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";

0 comments on commit 0f02761

Please sign in to comment.