diff options
author | Anton Kindestam <antonki@kth.se> | 2018-05-02 13:26:57 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-08 02:24:40 +0300 |
commit | a645c6b2ecf72c0e64f4d32bf14115398bf5b57f (patch) | |
tree | 4667ba6bb708d5311d33d530b451d9ef42ca33a6 /player | |
parent | 11289d52389f83edf9358fb3b93bb1bca32dc51c (diff) |
drm_atomic: Fix memory leaks in drm_atomic_create
First fix a memory leak when skipping cursor planes by inverting the
check and putting everything, but the free, in the body.
Then fix a missed drmModeFreePlane by simply copying the fields of the
drmModePlane we are interested in and freeing the drmModePlane struct
early.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions