Skip to content

Commit

Permalink
core: small improvement related to commit 5e42ada in cfg parser
Browse files Browse the repository at this point in the history
  • Loading branch information
henningw committed Mar 5, 2020
1 parent 5e42ada commit f879b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/cfg.y
Expand Up @@ -2673,7 +2673,7 @@ attr_mark:
ATTR_MARK {
s_attr = (struct avp_spec*)pkg_malloc(sizeof(struct avp_spec));
if (!s_attr) { yyerror("No memory left"); YYABORT; }
else { memset(s_attr, 0, (sizeof(struct avp_spec))); s_attr->type = 0; }
else { memset(s_attr, 0, (sizeof(struct avp_spec))); }
}
;
attr_id:
Expand Down

0 comments on commit f879b4c

Please sign in to comment.