Commit f7e90abb authored by dimitri's avatar dimitri

Fix for NULL pointer access problem

parent 039f53bb
......@@ -512,7 +512,8 @@ ClassDef *newResolveTypedef(FileDef *fileScope,MemberDef *md,
ClassDef *typeClass = md->getClassDef();
QCString type = md->typeString(); // get the "value" of the typedef
if (typeClass && typeClass->isTemplate() && actTemplParams->count()>0)
if (typeClass && typeClass->isTemplate() &&
actTemplParams && actTemplParams->count()>0)
{
type = substituteTemplateArgumentsInString(type,
typeClass->templateArguments(),actTemplParams);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment