Skip to content

Commit

Permalink
Bug 768830 - Doxygen segfault (return code 134) when parsing a c++ en…
Browse files Browse the repository at this point in the history
…um class contained in a class
  • Loading branch information
Dimitri van Heesch committed Jul 31, 2016
1 parent 0d9fc8d commit f37c0e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/membergroup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ void MemberGroup::addGroupedInheritedMembers(OutputList &ol,ClassDef *cd,
for (li.toFirst();(md=li.current());++li)
{
//printf("matching %d == %d\n",lt,md->getSectionList(m_parent)->listType());
if (lt==md->getSectionList(m_parent)->listType())
MemberList *ml = md->getSectionList(m_parent);
if (ml && lt==ml->listType())
{
MemberList ml(lt);
ml.append(md);
Expand All @@ -165,7 +166,8 @@ int MemberGroup::countGroupedInheritedMembers(MemberListType lt)
for (li.toFirst();(md=li.current());++li)
{
//printf("matching %d == %d\n",lt,md->getSectionList(m_parent)->listType());
if (lt==md->getSectionList(m_parent)->listType())
MemberList *ml = md->getSectionList(m_parent);
if (ml && lt==ml->listType())
{
count++;
}
Expand Down

0 comments on commit f37c0e5

Please sign in to comment.