diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-06-30 18:06:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-06-30 18:06:28 (GMT) |
commit | 956cf8647cb54a930d1d9c65fb01cc4d9498f2bd (patch) | |
tree | 5a2f0d14c9b3a32f16e2af80fe385ffdc91afae9 /src | |
parent | 15c353fe21452d415876c93607a468c5a8e89b82 (diff) | |
download | Doxygen-956cf8647cb54a930d1d9c65fb01cc4d9498f2bd.zip Doxygen-956cf8647cb54a930d1d9c65fb01cc4d9498f2bd.tar.gz Doxygen-956cf8647cb54a930d1d9c65fb01cc4d9498f2bd.tar.bz2 |
Fix for NULL pointer access problem
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 976e423..500b1af 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -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); |