tests/color-shaper-matrix: fix realpath() leak
Found with ASan. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
5921a00b38
commit
062b6646ff
@@ -275,6 +275,7 @@ build_output_icc_profile(const struct lcms_pipeline *pipe)
|
|||||||
assert(saved);
|
assert(saved);
|
||||||
|
|
||||||
cmsCloseProfile(profile);
|
cmsCloseProfile(profile);
|
||||||
|
free(wd);
|
||||||
|
|
||||||
return profile_name;
|
return profile_name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user