]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[drm] Destroy console buffer object when done with it
authorRay Strode <rstrode@redhat.com>
Tue, 6 Oct 2009 23:07:41 +0000 (19:07 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 6 Oct 2009 23:07:41 +0000 (19:07 -0400)
src/plugins/renderers/drm/plugin.c

index d317e2a130499194aad4a8bee6dea0e07a32975e..22a43940f12735a1486450b23357a0bc0b90c9dc 100644 (file)
@@ -855,6 +855,9 @@ ply_renderer_head_set_scan_out_buffer_to_console (ply_renderer_backend_t *backen
   ply_renderer_head_set_scan_out_buffer (backend,
                                          head, head->console_buffer_id);
 
+  backend->driver_interface->destroy_buffer (backend->driver,
+                                             head->console_buffer_id);
+
   if (pixel_buffer != NULL)
     ply_pixel_buffer_free (pixel_buffer);