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_vox.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_vox.c')
| -rw-r--r-- | src/demuxers/demux_vox.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/demuxers/demux_vox.c b/src/demuxers/demux_vox.c index 8ee555046..32fe83373 100644 --- a/src/demuxers/demux_vox.c +++ b/src/demuxers/demux_vox.c @@ -230,12 +230,6 @@ static const char *get_mimetypes (demux_class_t *this_gen) { return NULL; } -static void class_dispose (demux_class_t *this_gen) { - demux_vox_class_t *this = (demux_vox_class_t *) this_gen; - - free (this); -} - void *demux_vox_init_plugin (xine_t *xine, void *data) { demux_vox_class_t *this; @@ -246,7 +240,7 @@ void *demux_vox_init_plugin (xine_t *xine, void *data) { this->demux_class.identifier = "VOX"; 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; } |
