commit | a8eac087eb1eb7cbdc42785c11cd83ab5cec4d1f | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Sun Dec 16 21:17:39 2018 +0100 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Sun Dec 16 21:17:39 2018 +0100 |
tree | 4fe5f45705d8b0e049f20d85c000549eebf7435d | |
parent | 4a4c072f51bf06960b77fa44d6e2b1f4a648da72 [diff] [blame] |
tests free module properly
diff --git a/tests/src/test_parser_yin.c b/tests/src/test_parser_yin.c index 628501b..8e14839 100644 --- a/tests/src/test_parser_yin.c +++ b/tests/src/test_parser_yin.c
@@ -50,10 +50,10 @@ &mod); assert_string_equal(mod->name, "example-foo"); + assert_string_equal(mod->prefix, "foo"); + lysp_module_free(mod); ly_ctx_destroy(ctx, NULL); - - free(mod); } static int