mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-23 03:18:35 +08:00
a645c6b2ec
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.