OSDN Git Service

drm_hwcomposer: Free failed composition in QueueComposition
authorSean Paul <seanpaul@chromium.org>
Fri, 10 Jul 2015 20:43:06 +0000 (16:43 -0400)
committerSean Paul <seanpaul@chromium.org>
Sat, 11 Jul 2015 02:30:29 +0000 (22:30 -0400)
commit1d4c54cbc40ac57139d336df4b80561df3238932
treeb6630d500affe070ecec80e01816e6339640e8a1
parent1abf5c3fd61c1698e1ef7f9794cac5e22609a58c
drm_hwcomposer: Free failed composition in QueueComposition

Rather than maintaining ownership of the composition in the
caller, free the DrmComposition in QueueComposition on failure.

Change-Id: Id70e98ae1a8eef400bc29460bfc5a89c4707d617
Signed-off-by: Sean Paul <seanpaul@chromium.org>
compositor.h
drmcompositor.cpp
hwcomposer.cpp