Skip to content

Commit

Permalink
Fix memory-leak in test
Browse files Browse the repository at this point in the history
Coverity #253957

Signed-off-by: Stephen Gallagher <[email protected]>
  • Loading branch information
sgallagher committed Jan 17, 2018
1 parent d7ad9c1 commit 6088cb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modulemd/test-modulemd-yaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ modulemd_yaml_test_parse_file (YamlFixture *fixture, gconstpointer user_data)
g_info ("Reference YAML");
yaml_path = g_strdup_printf ("%s/spec.yaml", g_getenv ("MESON_SOURCE_ROOT"));
modules = parse_yaml_file (yaml_path, &error);
g_free (yaml_path);
g_assert_true (modules);
}

Expand Down

0 comments on commit 6088cb0

Please sign in to comment.