mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-04-25 02:40:41 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -275,6 +275,7 @@ build_output_icc_profile(const struct lcms_pipeline *pipe)
|
|||
assert(saved);
|
||||
|
||||
cmsCloseProfile(profile);
|
||||
free(wd);
|
||||
|
||||
return profile_name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue