Skip to content
Commit 21826f94 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

drm: Fix double free from checking if gamma lut has been updated



The code falls through to "fail" under all conditions, so there is no
need for the drm_property_blob_put if the gamma lut hasn't been changed.
Fixes: 9cca2667 "drm: Check whether the gamma lut has changed before updating"

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent d3011ebc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment