diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-18 17:09:44 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-18 17:09:44 +0100 |
commit | 3840424ca421b186ae4aa24281536a86f850d744 (patch) | |
tree | 551c8b341cbaa57d20bb481a0ef28eadc70a5c22 /src/post/planar/eq.c | |
parent | b864b902b6ba16c7bcee14fcb7f71cac640a23c2 (diff) | |
download | xine-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.c | 2 |
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; |