summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mng.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_mng.c')
-rw-r--r--src/demuxers/demux_mng.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/demuxers/demux_mng.c b/src/demuxers/demux_mng.c
index 64dcb71d3..67e9e175e 100644
--- a/src/demuxers/demux_mng.c
+++ b/src/demuxers/demux_mng.c
@@ -345,10 +345,6 @@ static const char *get_mimetypes(demux_class_t *this_gen){
"video/x-mng: mng: MNG animation;";
}
-static void class_dispose(demux_class_t *this){
- free (this);
-}
-
static void *init_plugin(xine_t *xine, void *data){
demux_mng_class_t *this;
@@ -359,7 +355,7 @@ static void *init_plugin(xine_t *xine, void *data){
this->demux_class.identifier = "MNG";
this->demux_class.get_mimetypes = get_mimetypes;
this->demux_class.get_extensions = get_extensions;
- this->demux_class.dispose = class_dispose;
+ this->demux_class.dispose = default_demux_class_dispose;
return this;
}