compositor-drm: free plane resources using drm function.

Free plane resources using drmModeFreePlaneResources()

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Samuel Iglesias Gonsalvez 12 years ago committed by Kristian Høgsberg
parent fb2adba3da
commit de4667351c
  1. 3
      src/compositor-drm.c

@ -2005,8 +2005,7 @@ create_sprites(struct drm_compositor *ec)
wl_list_insert(&ec->sprite_list, &sprite->link); wl_list_insert(&ec->sprite_list, &sprite->link);
} }
free(plane_res->planes); drmModeFreePlaneResources(plane_res);
free(plane_res);
} }
static void static void

Loading…
Cancel
Save