summaryrefslogtreecommitdiff
path: root/src/libspudvb/xine_spudvb_decoder.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 15:40:37 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-11 15:40:37 +0100
commit32a70cef7fdce1648d6850dafbe78bee04830429 (patch)
tree537db314667778898110667991063cd9a915e304 /src/libspudvb/xine_spudvb_decoder.c
parent448923a2d401f3e21eb586f50c1ca9e2dd6259d9 (diff)
downloadxine-lib-32a70cef7fdce1648d6850dafbe78bee04830429.tar.gz
xine-lib-32a70cef7fdce1648d6850dafbe78bee04830429.tar.bz2
Use default_*_class_dispose macro whenever the class dispose function only called free().
Diffstat (limited to 'src/libspudvb/xine_spudvb_decoder.c')
-rw-r--r--src/libspudvb/xine_spudvb_decoder.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/libspudvb/xine_spudvb_decoder.c b/src/libspudvb/xine_spudvb_decoder.c
index fcd8f9aab..79e8932a6 100644
--- a/src/libspudvb/xine_spudvb_decoder.c
+++ b/src/libspudvb/xine_spudvb_decoder.c
@@ -966,11 +966,6 @@ static spu_decoder_t *dvb_spu_class_open_plugin (spu_decoder_class_t * class_gen
return (spu_decoder_t *) this;
}
-static void dvb_spu_class_dispose (spu_decoder_class_t * this)
-{
- free (this);
-}
-
static void *init_spu_decoder_plugin (xine_t * xine, void *data)
{
@@ -980,7 +975,7 @@ static void *init_spu_decoder_plugin (xine_t * xine, void *data)
this->class.open_plugin = dvb_spu_class_open_plugin;
this->class.identifier = "spudvb";
this->class.description = N_("DVB subtitle decoder plugin");
- this->class.dispose = dvb_spu_class_dispose;
+ this->class.dispose = default_spu_decoder_class_dispose;
this->xine = xine;