diff options
author | albert-github <albert.tests@gmail.com> | 2017-01-04 11:24:55 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2017-01-04 11:24:55 (GMT) |
commit | 0f02761a158a5e9ddbd5801682482af8986dbc35 (patch) | |
tree | 847ef95ce09b40aa159f72e14dd0dc5b2ac2d289 | |
parent | 5b36add658b1e5ee14acd747ffe2c4ff9c926833 (diff) | |
download | Doxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.zip Doxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.tar.gz Doxygen-0f02761a158a5e9ddbd5801682482af8986dbc35.tar.bz2 |
Bug 776791 - [1.8.13 Regression] Segfault building the breathe docs
Protected against NULL pointer of variable al
-rw-r--r-- | src/xmlgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index fe95c7a..70e198a 100644 --- a/src/xmlgen.cpp +++ b/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"; |