tests/color-shaper-matrix: fix realpath() leak

Found with ASan.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2022-05-12 17:20:01 +03:00 committed by Pekka Paalanen
parent 5921a00b38
commit 062b6646ff
1 changed files with 1 additions and 0 deletions

View File

@ -275,6 +275,7 @@ build_output_icc_profile(const struct lcms_pipeline *pipe)
assert(saved);
cmsCloseProfile(profile);
free(wd);
return profile_name;
}