diff options
Diffstat (limited to 'src/libspucmml')
-rw-r--r-- | src/libspucmml/xine_cmml_decoder.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/libspucmml/xine_cmml_decoder.c b/src/libspucmml/xine_cmml_decoder.c index 31e6e9302..1223769ff 100644 --- a/src/libspucmml/xine_cmml_decoder.c +++ b/src/libspucmml/xine_cmml_decoder.c @@ -490,10 +490,6 @@ static spu_decoder_t *spucmml_class_open_plugin (spu_decoder_class_t *class_gen, return (spu_decoder_t *) this; } -static void spucmml_class_dispose (spu_decoder_class_t *this) { - free (this); -} - static void update_src_encoding(void *this_gen, xine_cfg_entry_t *entry) { spucmml_class_t *this = (spucmml_class_t *)this_gen; @@ -511,7 +507,7 @@ static void *init_spu_decoder_plugin (xine_t *xine, void *data) { this->class.open_plugin = spucmml_class_open_plugin; this->class.identifier = "spucmml"; this->class.description = N_("CMML subtitle decoder plugin"); - this->class.dispose = spucmml_class_dispose; + this->class.dispose = default_spu_decoder_class_dispose; this->xine = xine; |