commit | 288c1476f449e6b264f365dc3a219c441f9089cc | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Thu Jun 20 16:09:48 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Thu Jun 20 16:09:48 2019 +0200 |
tree | 5421c0022033767f442d20fff0961ebd0f246803 | |
parent | 554e36d5336c67e17e77bce7f51894d370c3c358 [diff] [blame] |
yin parser BUGFIX memleak
diff --git a/src/parser_yin.c b/src/parser_yin.c index 03241ef..aa27547 100644 --- a/src/parser_yin.c +++ b/src/parser_yin.c
@@ -526,6 +526,8 @@ LOGVAL_PARSER(xml_ctx, LY_VCODE_INCHILDSTMT_YIN, name_len, name, 9, "extension"); return LY_EVALID; } + LY_ARRAY_FREE(subelem_args); + subelem_args = NULL; } return ret;