From 9222d586341e466f9d1804cf49f992c67b27f410 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 24 Feb 2014 11:19:05 +0100 Subject: [PATCH] conftest: Use path_dirname() --- src/conftest/conftest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conftest/conftest.c b/src/conftest/conftest.c index ac6d697a54..584a2698a1 100644 --- a/src/conftest/conftest.c +++ b/src/conftest/conftest.c @@ -81,7 +81,7 @@ static bool load_configs(char *suite_file, char *test_file) } conftest->test = settings_create(suite_file); conftest->test->load_files(conftest->test, test_file, TRUE); - conftest->suite_dir = strdup(dirname(suite_file)); + conftest->suite_dir = path_dirname(suite_file); return TRUE; } -- 2.47.2