summaryrefslogtreecommitdiff
path: root/src/post/planar/eq.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-18 17:09:44 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-12-18 17:09:44 +0100
commit3840424ca421b186ae4aa24281536a86f850d744 (patch)
tree551c8b341cbaa57d20bb481a0ef28eadc70a5c22 /src/post/planar/eq.c
parentb864b902b6ba16c7bcee14fcb7f71cac640a23c2 (diff)
downloadxine-lib-3840424ca421b186ae4aa24281536a86f850d744.tar.gz
xine-lib-3840424ca421b186ae4aa24281536a86f850d744.tar.bz2
Use xine_xmalloc to allocate the plugin structures, so that they get zeroed out.
Diffstat (limited to 'src/post/planar/eq.c')
-rw-r--r--src/post/planar/eq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/planar/eq.c b/src/post/planar/eq.c
index cb28cafa2..2cf6464aa 100644
--- a/src/post/planar/eq.c
+++ b/src/post/planar/eq.c
@@ -226,7 +226,7 @@ static int eq_draw(vo_frame_t *frame, xine_stream_t *stream);
void *eq_init_plugin(xine_t *xine, void *data)
{
- post_class_t *class = (post_class_t *)malloc(sizeof(post_class_t));
+ post_class_t *class = (post_class_t *)xine_xmalloc(sizeof(post_class_t));
if (!class)
return NULL;