diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index fe95c7af52c..70e198ae235 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";