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