summaryrefslogtreecommitdiff
path: root/src/post/visualizations/oscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post/visualizations/oscope.c')
-rw-r--r--src/post/visualizations/oscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post/visualizations/oscope.c b/src/post/visualizations/oscope.c
index 7c9faeeaa..3e783cce7 100644
--- a/src/post/visualizations/oscope.c
+++ b/src/post/visualizations/oscope.c
@@ -318,7 +318,7 @@ static post_plugin_t *oscope_open_plugin(post_class_t *class_gen, int inputs,
xine_video_port_t **video_target)
{
post_class_oscope_t *class = (post_class_oscope_t *)class_gen;
- post_plugin_oscope_t *this = (post_plugin_oscope_t *)xine_xmalloc(sizeof(post_plugin_oscope_t));
+ post_plugin_oscope_t *this = calloc(1, sizeof(post_plugin_oscope_t));
post_in_t *input;
post_out_t *output;
post_out_t *outputv;