summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/video_out_fb.c')
-rw-r--r--src/video_out/video_out_fb.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c
index e08661fa2..b7864bc62 100644
--- a/src/video_out/video_out_fb.c
+++ b/src/video_out/video_out_fb.c
@@ -1046,12 +1046,6 @@ error:
return 0;
}
-static void fb_dispose_class(video_driver_class_t *this_gen)
-{
- fb_class_t *this = (fb_class_t *)this_gen;
- free(this);
-}
-
static void *fb_init_class(xine_t *xine, void *visual_gen)
{
fb_class_t *this = (fb_class_t *)xine_xmalloc(sizeof(fb_class_t));
@@ -1059,7 +1053,7 @@ static void *fb_init_class(xine_t *xine, void *visual_gen)
this->driver_class.open_plugin = fb_open_plugin;
this->driver_class.identifier = "fb";
this->driver_class.description = N_("Xine video output plugin using the Linux frame buffer device");
- this->driver_class.dispose = fb_dispose_class;
+ this->driver_class.dispose = default_video_driver_class_dispose;
this->config = xine->config;
this->xine = xine;