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

Found with ASan.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago committed by Pekka Paalanen
parent 5921a00b38
commit 062b6646ff
  1. 1
      tests/color-shaper-matrix-test.c

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

Loading…
Cancel
Save