summaryrefslogtreecommitdiff
path: root/src/xine-engine/lrb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/lrb.c')
-rw-r--r--src/xine-engine/lrb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/lrb.c b/src/xine-engine/lrb.c
index a2fc5d1da..6c624143c 100644
--- a/src/xine-engine/lrb.c
+++ b/src/xine-engine/lrb.c
@@ -30,7 +30,7 @@ lrb_t *lrb_new (int max_num_entries,
lrb_t *this;
- this = xine_xmalloc (sizeof (lrb_t));
+ this = calloc(1, sizeof(lrb_t));
this->max_num_entries = max_num_entries;
this->cur_num_entries = 0;