summaryrefslogtreecommitdiffstats
path: root/waftools/fragments
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2018-05-02 13:26:57 +0200
committerJan Ekström <jeebjp@gmail.com>2018-05-08 02:24:40 +0300
commita645c6b2ecf72c0e64f4d32bf14115398bf5b57f (patch)
tree4667ba6bb708d5311d33d530b451d9ef42ca33a6 /waftools/fragments
parent11289d52389f83edf9358fb3b93bb1bca32dc51c (diff)
downloadmpv-a645c6b2ecf72c0e64f4d32bf14115398bf5b57f.tar.bz2
mpv-a645c6b2ecf72c0e64f4d32bf14115398bf5b57f.tar.xz
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 'waftools/fragments')
0 files changed, 0 insertions, 0 deletions