diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 15:40:37 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-11 15:40:37 +0100 |
commit | 32a70cef7fdce1648d6850dafbe78bee04830429 (patch) | |
tree | 537db314667778898110667991063cd9a915e304 /src/demuxers/demux_mod.c | |
parent | 448923a2d401f3e21eb586f50c1ca9e2dd6259d9 (diff) | |
download | xine-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/demuxers/demux_mod.c')
-rw-r--r-- | src/demuxers/demux_mod.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/demuxers/demux_mod.c b/src/demuxers/demux_mod.c index 991e93cb8..ff68fdd42 100644 --- a/src/demuxers/demux_mod.c +++ b/src/demuxers/demux_mod.c @@ -360,12 +360,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) { return NULL; } -static void class_dispose (demux_class_t *this_gen) { - demux_mod_class_t *this = (demux_mod_class_t *) this_gen; - - free (this); -} - static void *demux_mod_init_plugin (xine_t *xine, void *data) { demux_mod_class_t *this; @@ -376,7 +370,7 @@ static void *demux_mod_init_plugin (xine_t *xine, void *data) { this->demux_class.identifier = "mod"; 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; } |