commit | 0e3a7c2ec93b15f43a2653e52e9608484391aeaf | [log] [tgz] |
---|---|---|
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | Fri Oct 11 12:26:10 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Oct 25 16:50:07 2019 -0400 |
tree | 1dc8f3e0e97a30220b391e0ccdfd3a7a3ba40fbe | |
parent | 73469970a9bb09baff681012905fe956e18d981a [diff] |
drm/amd/display: Free gamma after calculating legacy transfer function [Why] We're leaking memory by not freeing the gamma used to calculate the transfer function for legacy gamma. [How] Release the gamma after we're done with it. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>