Skip to content

Commit

Permalink
fixup! Vala: consider other than public when filling access: fields
Browse files Browse the repository at this point in the history
  • Loading branch information
masatake committed Oct 25, 2020
1 parent e9acb72 commit 5f68751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parsers/vala.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,8 @@ static void parseClassBody (tokenInfo *const token, int classCorkIndex)
tokenCopy (typerefToken, token);
else
{
eFree (visiblity);
if (visiblity)
eFree (visiblity);
break; /* Unexpected sequence to token */
}

Expand Down

0 comments on commit 5f68751

Please sign in to comment.