Skip to content

color-lcms: Fix memory leak in join_curvesets

Vitaly Prosyak requested to merge vitalyp/weston:vp/mr/color-lcms-memleak into main

LCMS API cmsStageAllocToneCurves uses cmsDupToneCurve which internally re-allocates a new table of points. As a result, we have to free the old table returned from lcmsJoinToneCurve.

Signed-off-by: Vitaly Prosyak vitaly.prosyak@amd.com

Merge request reports

Loading