sdm: drm: Clear the color structures after freeing memory

Once all the features of the color processing have been applied, set the
payload to NULL after freeing. This will prevent any double free and
it's side effects.

Change-Id: Ic3aa171267c903f50b5a6c3de5b1c7ba49372159
2 files changed