summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_stk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/video_out_stk.c')
-rw-r--r--src/video_out/video_out_stk.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_out/video_out_stk.c b/src/video_out/video_out_stk.c
index ad4769dcd..c8a88e4f6 100644
--- a/src/video_out/video_out_stk.c
+++ b/src/video_out/video_out_stk.c
@@ -442,12 +442,6 @@ static vo_driver_t *open_plugin(video_driver_class_t *class_gen, const void *vis
/**
* Class Functions
*/
-static void dispose_class (video_driver_class_t *this_gen) {
- //printf("video_out_stk: dispose_class()\n");
- free(this_gen);
-}
-
-
static void *init_class (xine_t *xine, void *visual_gen) {
stk_class_t* this;
@@ -458,7 +452,7 @@ static void *init_class (xine_t *xine, void *visual_gen) {
this->driver_class.open_plugin = open_plugin;
this->driver_class.identifier = "stk";
this->driver_class.description = N_("xine video output plugin using the Libstk Surface Set-top Toolkit");
- this->driver_class.dispose = dispose_class;
+ this->driver_class.dispose = default_video_driver_class_dispose;
this->config = xine->config;
this->xine = xine;