aboutsummaryrefslogtreecommitdiff
path: root/test/lib/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/dir.c')
-rw-r--r--test/lib/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/dir.c b/test/lib/dir.c
index 121540e..85ef400 100644
--- a/test/lib/dir.c
+++ b/test/lib/dir.c
@@ -28,7 +28,7 @@ void _TEST_is_directory(bool_t *result, TestCount_t *test_count,
bool_t test_full_path(char *dirname, char *file, char *result) {
char *fpath = full_path(dirname, file);
bool_t cmp_result = strcmp(result, fpath);
- g_free(fpath);
+ free(fpath);
if (cmp_result == 0) {
return TRUE;
}