commit | 68ef3dcc8a5e4944ada7b92474da055916dc4eb2 | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Mon Jul 22 13:40:19 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Mon Jul 22 13:40:19 2019 +0200 |
tree | 64796bd8f0557fd22b3d00a24a3812ee0cd128cd | |
parent | 0d6de5ab2c274b0109af893da04c1e5a3f19c54e [diff] [blame] |
yang parser BUGFIX memory leak
diff --git a/src/parser_yang.c b/src/parser_yang.c index 58be351..4ba179f 100644 --- a/src/parser_yang.c +++ b/src/parser_yang.c
@@ -1172,6 +1172,7 @@ /* check value */ if (lysp_check_date(ctx, word, word_len, "revision")) { + free(buf); return LY_EVALID; }