summaryrefslogtreecommitdiff
path: root/src/post/planar/expand.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/expand.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/expand.c')
-rw-r--r--src/post/planar/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/planar/expand.c b/src/post/planar/expand.c
index df5fa874e..f2f9fc748 100644
--- a/src/post/planar/expand.c
+++ b/src/post/planar/expand.c
@@ -128,7 +128,7 @@ static int32_t expand_overlay_add_event(video_overlay_manager_t *this_gen
void *expand_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;