eina_test_file: Fix resource leak

Summary:
Coverity reports that we leak 'path' here, so free the returned string

Fixes CID1400926

@fix
Depends on D8771

Reviewers: raster, cedric, zmike, bu5hm4n, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8772
This commit is contained in:
Christopher Michael 2019-05-02 13:47:28 +02:00 committed by Xavi Artigas
parent b563fed2e4
commit f537164024
1 changed files with 1 additions and 1 deletions

View File

@ -532,8 +532,8 @@ EFL_START_TEST(eina_test_file_path)
{
path = eina_file_path_sanitize(sanitize[i].test);
fail_if(strcmp(path, sanitize[i].result));
free(path);
}
}
EFL_END_TEST