summaryrefslogtreecommitdiff
path: root/src/post/audio/stretch.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/post/audio/stretch.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/post/audio/stretch.c')
-rw-r--r--src/post/audio/stretch.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/post/audio/stretch.c b/src/post/audio/stretch.c
index 688900972..f02b1b899 100644
--- a/src/post/audio/stretch.c
+++ b/src/post/audio/stretch.c
@@ -659,11 +659,6 @@ static post_plugin_t *stretch_open_plugin(post_class_t *class_gen, int inputs,
return &this->post;
}
-static void stretch_class_dispose(post_class_t *class_gen)
-{
- free(class_gen);
-}
-
/* plugin class initialization function */
void *stretch_init_plugin(xine_t *xine, void *data)
{
@@ -675,7 +670,7 @@ void *stretch_init_plugin(xine_t *xine, void *data)
class->post_class.open_plugin = stretch_open_plugin;
class->post_class.identifier = "stretch";
class->post_class.description = N_("Time stretch by a given factor, optionally preserving pitch");
- class->post_class.dispose = stretch_class_dispose;
+ class->post_class.dispose = default_post_class_dispose;
class->xine = xine;